initial command shell implementation
almost all commands are not yet implemented. actual communication hooks are not yet implemented.
This commit is contained in:
@@ -120,7 +120,7 @@ void rgbled_update()
|
||||
|
||||
void rgbled_init()
|
||||
{
|
||||
TIM_TimeBaseInitTypeDef timer ={0};
|
||||
TIM_TimeBaseInitTypeDef timer = {0};
|
||||
TIM_OCInitTypeDef pwm = {0};
|
||||
|
||||
timer.TIM_Period = (1 << 10) - 1; // 10-bit
|
||||
|
||||
Reference in New Issue
Block a user