Overlord configs. Fix buzzer, redundant temp. (#14833)
This commit is contained in:
		
				
					committed by
					
						 Scott Lahteine
						Scott Lahteine
					
				
			
			
				
	
			
			
			
						parent
						
							535eeace5f
						
					
				
				
					commit
					77f637763c
				
			| @@ -688,7 +688,7 @@ void idle( | ||||
|     print_job_timer.tick(); | ||||
|   #endif | ||||
|  | ||||
|   #if HAS_BUZZER && DISABLED(LCD_USE_I2C_BUZZER) | ||||
|   #if HAS_BUZZER && DISABLED(LCD_USE_I2C_BUZZER) && DISABLED(PCA9632_BUZZER) | ||||
|     buzzer.tick(); | ||||
|   #endif | ||||
|  | ||||
|   | ||||
| @@ -27,6 +27,11 @@ | ||||
|  | ||||
|   #define BUZZ(d,f) ui.buzz(d,f) | ||||
|  | ||||
| #elif ENABLED(PCA9632_BUZZER) | ||||
|  | ||||
|   #include "../feature/leds/pca9632.h" | ||||
|   #define BUZZ(d, f) pca9632_buzz(d,f) | ||||
|  | ||||
| #elif PIN_EXISTS(BEEPER) | ||||
|  | ||||
|   #include "circularqueue.h" | ||||
|   | ||||
| @@ -2220,6 +2220,9 @@ void Temperature::readings_ready() { | ||||
|   #endif | ||||
|  | ||||
|   HOTEND_LOOP() temp_hotend[e].acc = 0; | ||||
|   #if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT) | ||||
|     temp_hotend[1].acc = 0; | ||||
|   #endif | ||||
|  | ||||
|   #if HAS_HEATED_BED | ||||
|     temp_bed.acc = 0; | ||||
|   | ||||
| @@ -268,7 +268,11 @@ class Temperature { | ||||
|  | ||||
|     static volatile bool in_temp_isr; | ||||
|  | ||||
|     static hotend_info_t temp_hotend[HOTENDS]; | ||||
|     static hotend_info_t temp_hotend[HOTENDS | ||||
|       #if ENABLED(TEMP_SENSOR_1_AS_REDUNDANT) | ||||
|         + 1 | ||||
|       #endif | ||||
|     ]; | ||||
|  | ||||
|     #if HAS_HEATED_BED | ||||
|       static bed_info_t temp_bed; | ||||
|   | ||||
		Reference in New Issue
	
	Block a user