Skip to content

Commit

Permalink
Fix build break - empty param must be (void)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamisonderek committed Apr 17, 2024
1 parent cf6f449 commit 557d2fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ void rgb_internal_set_mode(uint32_t mode) {
rgb_settings.internal_mode = (InternalMode)mode;
}

bool rgb_backlight_connected() {
bool rgb_backlight_connected(void) {
for(int i = 0; i < LED_BACKLIGHT_COUNT; i++) {
for(int rgb = 0; rgb < 3; rgb++) {
if(rgb_settings.backlight_colors[i][rgb]) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ uint8_t rgb_internal_led_get_count(void);
* @return true If at least one RGB LED is set to a color.
* @return false If no RGB LED are set to a color.
*/
bool rgb_backlight_connected();
bool rgb_backlight_connected(void);

/**
* @brief Updates the physical LEDs connected to the vibro pin.
Expand Down

0 comments on commit 557d2fb

Please sign in to comment.