mirror of
				https://github.com/mfulz/qmk_firmware.git
				synced 2025-11-03 23:02:34 +01:00 
			
		
		
		
	Fix compilation error when RGB light is disabled
This commit is contained in:
		
							parent
							
								
									61d851af65
								
							
						
					
					
						commit
						35b44ac699
					
				@ -217,8 +217,10 @@ uint32_t layer_state_set_user(uint32_t state) {
 | 
				
			|||||||
        #ifdef RGBLIGHT_COLOR_LAYER_0
 | 
					        #ifdef RGBLIGHT_COLOR_LAYER_0
 | 
				
			||||||
          rgblight_setrgb(RGBLIGHT_COLOR_LAYER_0);
 | 
					          rgblight_setrgb(RGBLIGHT_COLOR_LAYER_0);
 | 
				
			||||||
        #else
 | 
					        #else
 | 
				
			||||||
 | 
					        #ifdef RGBLIGHT_ENABLE
 | 
				
			||||||
          rgblight_init();
 | 
					          rgblight_init();
 | 
				
			||||||
        #endif
 | 
					        #endif
 | 
				
			||||||
 | 
					        #endif
 | 
				
			||||||
        break;
 | 
					        break;
 | 
				
			||||||
      case 1:
 | 
					      case 1:
 | 
				
			||||||
        ergodox_right_led_1_on();
 | 
					        ergodox_right_led_1_on();
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user