mirror of
https://gitee.com/dlmu-cone/tronone-h7-scaffold
synced 2026-07-24 03:27:45 +08:00
fix ws2812Task void *argument issue
This commit is contained in:
@@ -35,7 +35,7 @@ uint8_t b = 0;
|
||||
* @brief WS2812 LED control task
|
||||
* @param argument
|
||||
*/
|
||||
void ws2812Task(void const * argument) {
|
||||
void ws2812Task(void *argument) {
|
||||
while (1) {
|
||||
switch (RobotMode) {
|
||||
case NORMAL_MODE:
|
||||
|
||||
@@ -8,7 +8,7 @@
|
||||
#include "ws2812.h"
|
||||
|
||||
/*---------------------FUNCTIONS---------------------*/
|
||||
extern void ws2812Task(void const *argument);
|
||||
void ws2812Task(void *argument);
|
||||
|
||||
void BlinkYellow(void);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user