mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-18 22:05:17 +03:00
Add void to function declarations/definitions where required
This commit is contained in:
parent
120955e26b
commit
53f5e87c7a
45 changed files with 130 additions and 128 deletions
|
@ -181,7 +181,7 @@ static void drawHorizonalPercentageBar(uint8_t width,uint8_t percent)
|
|||
}
|
||||
|
||||
#if 0
|
||||
static void fillScreenWithCharacters()
|
||||
static void fillScreenWithCharacters(void)
|
||||
{
|
||||
for (uint8_t row = 0; row < SCREEN_CHARACTER_ROW_COUNT; row++) {
|
||||
for (uint8_t column = 0; column < SCREEN_CHARACTER_COLUMN_COUNT; column++) {
|
||||
|
@ -241,7 +241,7 @@ static void updateFailsafeStatus(void)
|
|||
i2c_OLED_send_char(bus, failsafeIndicator);
|
||||
}
|
||||
|
||||
static void showTitle()
|
||||
static void showTitle(void)
|
||||
{
|
||||
i2c_OLED_set_line(bus, 0);
|
||||
i2c_OLED_send_string(bus, pageState.page->title);
|
||||
|
@ -346,7 +346,7 @@ static void showProfilePage(void)
|
|||
#define SATELLITE_GRAPH_LEFT_OFFSET ((SCREEN_CHARACTER_COLUMN_COUNT - SATELLITE_COUNT) / 2)
|
||||
|
||||
#ifdef GPS
|
||||
static void showGpsPage()
|
||||
static void showGpsPage(void)
|
||||
{
|
||||
if (!feature(FEATURE_GPS)) {
|
||||
pageState.pageFlags |= PAGE_STATE_FLAG_FORCE_PAGE_CHANGE;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue