Fix functions with empty params (#19647)
* Fix functions with empty params * Found a bunch more
This commit is contained in:
		
							parent
							
								
									0f77ae6a20
								
							
						
					
					
						commit
						cf935d97ae
					
				
					 170 changed files with 276 additions and 276 deletions
				
			
		| 
						 | 
				
			
			@ -98,11 +98,11 @@ float tone_game[][2]    = {
 | 
			
		|||
float tone_goodbye[][2] = SONG(GOODBYE_SOUND);
 | 
			
		||||
float music_scale[][2]  = SONG(MUSIC_SCALE_SOUND);
 | 
			
		||||
 | 
			
		||||
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);
 | 
			
		||||
  stop_all_notes();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -91,12 +91,12 @@ void matrix_init_user(void) {
 | 
			
		|||
 | 
			
		||||
#ifdef AUDIO_ENABLE
 | 
			
		||||
 | 
			
		||||
void startup_user()
 | 
			
		||||
void startup_user(void)
 | 
			
		||||
{
 | 
			
		||||
    PLAY_SONG(tone_startup);
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
void shutdown_user()
 | 
			
		||||
void shutdown_user(void)
 | 
			
		||||
{
 | 
			
		||||
    PLAY_SONG(tone_goodbye);
 | 
			
		||||
    stop_all_notes();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -258,13 +258,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);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -242,7 +242,7 @@ float s_audio_on[][2]    = AUDIO_ON_SONG;
 | 
			
		|||
float s_layer_lower[][2] = LAYER_LOWER_SONG;
 | 
			
		||||
float s_layer_raise[][2] = LAYER_RAISE_SONG;
 | 
			
		||||
 | 
			
		||||
void audio_on_user() { PLAY_SONG(s_audio_on); };
 | 
			
		||||
void audio_on_user(void) { PLAY_SONG(s_audio_on); };
 | 
			
		||||
 | 
			
		||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
 | 
			
		||||
    switch (keycode) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -218,7 +218,7 @@ float s_audio_on[][2]    = AUDIO_ON_SONG;
 | 
			
		|||
float s_layer_lower[][2] = LAYER_LOWER_SONG;
 | 
			
		||||
float s_layer_raise[][2] = LAYER_RAISE_SONG;
 | 
			
		||||
 | 
			
		||||
void audio_on_user() { PLAY_SONG(s_audio_on); };
 | 
			
		||||
void audio_on_user(void) { PLAY_SONG(s_audio_on); };
 | 
			
		||||
 | 
			
		||||
bool process_record_user(uint16_t keycode, keyrecord_t *record) {
 | 
			
		||||
    switch (keycode) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -186,13 +186,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);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -251,13 +251,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);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -210,13 +210,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);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -157,7 +157,7 @@ bool process_record_user(uint16_t keycode, keyrecord_t *record) {
 | 
			
		|||
//   {NOTE_E5, 8}
 | 
			
		||||
// };
 | 
			
		||||
 | 
			
		||||
// void startup_user()
 | 
			
		||||
// void startup_user(void)
 | 
			
		||||
// {
 | 
			
		||||
//     _delay_ms(20); // gets rid of tick
 | 
			
		||||
//     PLAY_SONG(tone_startup);
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -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();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue