1
0
Fork 0

Fix functions with empty params (#19647)

* Fix functions with empty params

* Found a bunch more
This commit is contained in:
Ryan 2023-01-21 03:21:17 +11:00 committed by GitHub
parent 0f77ae6a20
commit cf935d97ae
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
170 changed files with 276 additions and 276 deletions

View file

@ -219,13 +219,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
void startup_user()
void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);

View file

@ -192,13 +192,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
void startup_user()
void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);

View file

@ -357,6 +357,6 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
return true;
}
void matrix_init_user() {
void matrix_init_user(void) {
steno_set_mode(STENO_MODE_GEMINI);
}

View file

@ -312,13 +312,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
void startup_user()
void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);

View file

@ -282,13 +282,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
void startup_user()
void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);

View file

@ -347,13 +347,13 @@ void matrix_init_user(void) {
}
#ifdef AUDIO_ENABLE
void startup_user()
void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);

View file

@ -293,13 +293,13 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
float music_scale[][2] = SONG(MUSIC_SCALE_SOUND);
#endif
void startup_user() {
void startup_user(void) {
#ifdef AUDIO_ENABLE
PLAY_SONG(tone_startup);
#endif
}
void shutdown_user() {
void shutdown_user(void) {
#ifdef AUDIO_ENABLE
PLAY_SONG(tone_goodbye);
stop_all_notes();

View file

@ -280,13 +280,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
void startup_user()
void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);

View file

@ -205,13 +205,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
void startup_user()
void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);

View file

@ -321,7 +321,7 @@ void matrix_init_keymap(void) {
#ifdef AUDIO_ENABLE
void startup_user()
void startup_user(void)
{
#ifdef RGB_MATRIX_ENABLE
rgblight_mode(RGB_MATRIX_CYCLE_ALL);
@ -330,7 +330,7 @@ void startup_user()
PLAY_SONG(tone_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
wait_ms(150);

View file

@ -277,13 +277,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
void startup_user()
void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);

View file

@ -227,13 +227,13 @@ void matrix_init_user(void)
#ifdef AUDIO_ENABLE
void startup_user()
void startup_user(void)
{
_delay_ms(100); // gets rid of tick
PLAY_SONG(tone_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);

View file

@ -248,13 +248,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
void startup_user()
void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);

View file

@ -247,13 +247,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
void startup_user()
void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);

View file

@ -158,13 +158,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
void startup_user()
void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);

View file

@ -194,13 +194,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
void startup_user()
void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);

View file

@ -198,13 +198,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
void startup_user()
void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);

View file

@ -230,13 +230,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
void startup_user()
void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);

View file

@ -182,13 +182,13 @@ void matrix_init_user(void) {
#ifdef AUDIO_ENABLE
void startup_user()
void startup_user(void)
{
_delay_ms(20); // gets rid of tick
PLAY_SONG(tone_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_goodbye);
_delay_ms(150);

View file

@ -124,13 +124,13 @@ void led_set_user(uint8_t usb_led)
}
void startup_user()
void startup_user(void)
{
_delay_ms(30); // gets rid of tick
PLAY_SONG(tone_my_startup);
}
void shutdown_user()
void shutdown_user(void)
{
PLAY_SONG(tone_my_goodbye);
_delay_ms(3000);

View file

@ -90,6 +90,6 @@ const uint16_t PROGMEM keymaps[][MATRIX_ROWS][MATRIX_COLS] = {
};
void matrix_init_user() {
void matrix_init_user(void) {
steno_set_mode(STENO_MODE_GEMINI);
}

View file

@ -427,7 +427,7 @@ void play_goodbye_tone(void){
_delay_ms(150);
}
void shutdown_user(){
void shutdown_user(void){
PLAY_SONG(tone_goodbye);
_delay_ms(150);
stop_all_notes();