Minor #warning fix for PrintCounter
This commit is contained in:
		
							parent
							
								
									c4e6e41b05
								
							
						
					
					
						commit
						eafa16a781
					
				| @ -22,7 +22,6 @@ | |||||||
| 
 | 
 | ||||||
| #include "Marlin.h" | #include "Marlin.h" | ||||||
| #include "printcounter.h" | #include "printcounter.h" | ||||||
| #include <avr/eeprom.h> |  | ||||||
| 
 | 
 | ||||||
| PrintCounter::PrintCounter(): super() { | PrintCounter::PrintCounter(): super() { | ||||||
|   this->loadStats(); |   this->loadStats(); | ||||||
| @ -123,7 +122,6 @@ void PrintCounter::tick() { | |||||||
|       PrintCounter::debug(PSTR("tick")); |       PrintCounter::debug(PSTR("tick")); | ||||||
|     #endif |     #endif | ||||||
| 
 | 
 | ||||||
|     uint16_t t = this->duration();; |  | ||||||
|     this->data.printTime += this->deltaDuration(); |     this->data.printTime += this->deltaDuration(); | ||||||
|     update_before = now; |     update_before = now; | ||||||
|   } |   } | ||||||
|  | |||||||
| @ -25,6 +25,8 @@ | |||||||
| 
 | 
 | ||||||
| #include "macros.h" | #include "macros.h" | ||||||
| #include "stopwatch.h" | #include "stopwatch.h" | ||||||
|  | #include <avr/eeprom.h> | ||||||
|  | 
 | ||||||
| 
 | 
 | ||||||
| // Print debug messages with M111 S2
 | // Print debug messages with M111 S2
 | ||||||
| //#define DEBUG_PRINTCOUNTER
 | //#define DEBUG_PRINTCOUNTER
 | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user