Added OLED Display autoscroll during periods of OLED data inactivity (#6546)
* Added OLED Display autoscroll during periods of OLED data inactivity. * Fixing compile errors * Feedback from review
This commit is contained in:
		
							parent
							
								
									f22c5c17b6
								
							
						
					
					
						commit
						957070a6b5
					
				
					 12 changed files with 72 additions and 46 deletions
				
			
		|  | @ -4,14 +4,13 @@ | |||
| #define __DELAY_BACKWARD_COMPATIBLE__ | ||||
| #include <util/delay.h> | ||||
| #include "common/timer.h" | ||||
| #include "Arduino.h" | ||||
| 
 | ||||
| 
 | ||||
| unsigned long millis() | ||||
| unsigned long millis(void) | ||||
| { | ||||
|     return timer_read32(); | ||||
| } | ||||
| unsigned long micros() | ||||
| unsigned long micros(void) | ||||
| { | ||||
|     return timer_read32() * 1000UL; | ||||
| } | ||||
|  | @ -23,7 +22,7 @@ void delayMicroseconds(unsigned int us) | |||
| { | ||||
|     _delay_us(us); | ||||
| } | ||||
| void init() | ||||
| void init(void) | ||||
| { | ||||
|     timer_init(); | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 XScorpion2
						XScorpion2