This commit is contained in:
MQjehovah 2023-08-23 21:19:21 +08:00
parent cdbd5c4bfd
commit 333c040db5
4 changed files with 2 additions and 14 deletions

View File

@ -24,7 +24,6 @@ int main(void)
while (1)
{
led_ctrl(1);
// rt_kprintf("hello rtthread \r\n");
HAL_Delay(500);
led_ctrl(0);
HAL_Delay(500);

View File

@ -109,7 +109,7 @@ void calc_hall_angle(hall_handle_t *handle, uint8_t new_state)
default:
/* Bad hall sensor configutarion so update the speed reliability */
handle->SensorIsReliable = false;
handle->SensorIsReliable = 0;
break;
}

View File

@ -26,7 +26,7 @@ enum
NEGATIVE = -1,
POSITIVE = 1,
}
};
typedef struct
{

View File

@ -1,11 +0,0 @@
int main()
{
/**
*
* 1.
* 2.
*/
}