Fix functions with empty params (#19647)
* Fix functions with empty params * Found a bunch more
This commit is contained in:
@@ -63,7 +63,7 @@ void oled_render_keylog(void) {
|
||||
oled_write((const char *)&logged_char, false);
|
||||
}
|
||||
|
||||
void render_master_oled() {
|
||||
void render_master_oled(void) {
|
||||
if (timer_elapsed32(oled_timer) > CUSTOM_OLED_TIMEOUT) {
|
||||
oled_off();
|
||||
return;
|
||||
|
@@ -3,7 +3,7 @@
|
||||
|
||||
#include "jpe230.h"
|
||||
|
||||
void render_slave_oled() {
|
||||
void render_slave_oled(void) {
|
||||
static const char PROGMEM crkbd_logo[] = {
|
||||
0x80, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, 0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x8d, 0x8e, 0x8f, 0x90, 0x91, 0x92, 0x93, 0x94,
|
||||
0xa0, 0xa1, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, 0xa7, 0xa8, 0xa9, 0xaa, 0xab, 0xac, 0xad, 0xae, 0xaf, 0xb0, 0xb1, 0xb2, 0xb3, 0xb4,
|
||||
|
@@ -12,7 +12,7 @@ __attribute__ ((weak)) void handle_oled_keypress(uint16_t keycode, keyrecord_t *
|
||||
__attribute__ ((weak)) oled_rotation_t rotate_master(oled_rotation_t rotation) {return rotation;}
|
||||
__attribute__ ((weak)) oled_rotation_t rotate_slave(oled_rotation_t rotation) {return rotation;}
|
||||
|
||||
void oled_timer_reset() { oled_timer = timer_read32(); }
|
||||
void oled_timer_reset(void) { oled_timer = timer_read32(); }
|
||||
|
||||
oled_rotation_t oled_init_user(oled_rotation_t rotation) {
|
||||
|
||||
|
@@ -40,7 +40,7 @@ void oled_render_layer_state(void) {
|
||||
|
||||
}
|
||||
|
||||
void render_master_oled() {
|
||||
void render_master_oled(void) {
|
||||
if (timer_elapsed32(oled_timer) > CUSTOM_OLED_TIMEOUT) {
|
||||
oled_off();
|
||||
return;
|
||||
|
@@ -4,7 +4,7 @@
|
||||
#include "jpe230.h"
|
||||
#include "ocean_dream.h"
|
||||
|
||||
void render_slave_oled() {
|
||||
void render_slave_oled(void) {
|
||||
render_stars();
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user