Răsfoiți Sursa

Fixed compilation warnings due to missing return statements

Didier Loiseau 9 ani în urmă
părinte
comite
e336af79eb
1 a modificat fișierele cu 2 adăugiri și 1 ștergeri
  1. 2 1
      keyboard/ergodox_ez/keymaps/tm2030/keymap.c

+ 2 - 1
keyboard/ergodox_ez/keymaps/tm2030/keymap.c

@@ -216,7 +216,7 @@ const macro_t *action_get_macro(keyrecord_t *record, uint8_t id, uint8_t opt)
 
 // Runs just one time when the keyboard initializes.
 void * matrix_init_user(void) {
-
+    return NULL;
 };
 
 // Runs constantly in the background, in a loop.
@@ -238,4 +238,5 @@ void * matrix_scan_user(void) {
     if (host_keyboard_leds() & (1<<USB_LED_CAPS_LOCK)) {
       ergodox_right_led_3_on();
     }
+    return NULL;
 };