mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-16 21:05:35 +03:00
Fixed some comparion sign warnings in MAX macros
This commit is contained in:
parent
53920103d8
commit
c0961d7f4c
5 changed files with 6 additions and 6 deletions
|
@ -366,7 +366,7 @@ static void showGpsPage()
|
|||
i2c_OLED_set_xy(bus, 0, rowIndex);
|
||||
i2c_OLED_send_char(bus, tickerCharacters[gpsTicker]);
|
||||
|
||||
i2c_OLED_set_xy(bus, MAX(0, SATELLITE_GRAPH_LEFT_OFFSET), rowIndex++);
|
||||
i2c_OLED_set_xy(bus, MAX(0, (uint8_t)SATELLITE_GRAPH_LEFT_OFFSET), rowIndex++);
|
||||
|
||||
uint32_t index;
|
||||
for (index = 0; index < SATELLITE_COUNT && index < SCREEN_CHARACTER_COLUMN_COUNT; index++) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue