mirror of
https://gitee.com/dlmu-cone/tronone-h7-scaffold
synced 2026-07-25 03:47:46 +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
|
* @brief WS2812 LED control task
|
||||||
* @param argument
|
* @param argument
|
||||||
*/
|
*/
|
||||||
void ws2812Task(void const * argument) {
|
void ws2812Task(void *argument) {
|
||||||
while (1) {
|
while (1) {
|
||||||
switch (RobotMode) {
|
switch (RobotMode) {
|
||||||
case NORMAL_MODE:
|
case NORMAL_MODE:
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
#include "ws2812.h"
|
#include "ws2812.h"
|
||||||
|
|
||||||
/*---------------------FUNCTIONS---------------------*/
|
/*---------------------FUNCTIONS---------------------*/
|
||||||
extern void ws2812Task(void const *argument);
|
void ws2812Task(void *argument);
|
||||||
|
|
||||||
void BlinkYellow(void);
|
void BlinkYellow(void);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user