Skip to content

Commit

Permalink
small change for switching branch
Browse files Browse the repository at this point in the history
  • Loading branch information
CuboiLeo committed May 24, 2024
1 parent e0ed815 commit b37b54f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/inc/robot_tasks.h
Original file line number Diff line number Diff line change
Expand Up @@ -87,12 +87,12 @@ void Robot_Tasks_UI(void const *argument)
{
portTickType xLastWakeTime;
xLastWakeTime = xTaskGetTickCount();
const TickType_t TimeIncrement = pdMS_TO_TICKS(5000);
const TickType_t TimeIncrement = pdMS_TO_TICKS(2000);
while (1)
{
// ui_init_indicator_0();
// osDelay(5000);
// ui_init_indicator_1();
ui_init_indicator_1();
vTaskDelayUntil(&xLastWakeTime, TimeIncrement);
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/ui/inc/ui_interface.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ extern int ui_self_id;

void print_message(const uint8_t* message, int length);

#define SEND_MESSAGE(message, length) print_message(message, length)
#define SEND_MESSAGE(message, length) HAL_UART_Transmit(&huart1,message,length,500) //print_message(message, length)

void ui_proc_1_frame(ui_1_frame_t *msg);
void ui_proc_2_frame(ui_2_frame_t *msg);
Expand Down

0 comments on commit b37b54f

Please sign in to comment.