2020 February 29 Breaking Changes Update (#8064)

This commit is contained in:
James Young
2020-02-29 12:00:00 -08:00
parent 85041ff05b
commit 26eef35f07
362 changed files with 27772 additions and 8810 deletions

File diff suppressed because it is too large Load Diff

View File

@ -352,7 +352,7 @@ static DECLARE_THREAD_FUNCTION(visualizerThread, arg) {
// On windows the system ticks is the same as milliseconds anyway
if (sleep_time != TIME_INFINITE) {
sleep_time = ST2MS(sleep_time);
sleep_time = TIME_I2MS(sleep_time);
}
#endif
geventEventWait(&event_listener, sleep_time);
@ -400,7 +400,7 @@ void update_status(bool changed) {
static systime_t last_update = 0;
systime_t current_update = chVTGetSystemTimeX();
systime_t delta = current_update - last_update;
if (changed || delta > MS2ST(10)) {
if (changed || delta > TIME_MS2I(10)) {
last_update = current_update;
visualizer_keyboard_status_t* r = begin_write_current_status();
*r = current_status;

View File

@ -97,8 +97,8 @@ typedef struct visualizer_state_t {
uint32_t current_lcd_color;
uint32_t prev_lcd_color;
#ifdef LCD_ENABLE
font_t font_fixed5x8;
font_t font_dejavusansbold12;
gFont font_fixed5x8;
gFont font_dejavusansbold12;
#endif
} visualizer_state_t;