lcd: moved kFrameTicks to lcd.h for use in other modules
This commit is contained in:
		
							parent
							
								
									70af9d620b
								
							
						
					
					
						commit
						46aef01d04
					
				@ -17,8 +17,6 @@ namespace LCD {
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
Registers g_regs;
 | 
					Registers g_regs;
 | 
				
			||||||
 | 
					
 | 
				
			||||||
static const u32 kFrameTicks = 268123480 / 60;  ///< 268MHz / 60 frames per second
 | 
					 | 
				
			||||||
 | 
					 | 
				
			||||||
u64 g_last_ticks = 0; ///< Last CPU ticks
 | 
					u64 g_last_ticks = 0; ///< Last CPU ticks
 | 
				
			||||||
 | 
					
 | 
				
			||||||
/**
 | 
					/**
 | 
				
			||||||
 | 
				
			|||||||
@ -8,6 +8,8 @@
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
namespace LCD {
 | 
					namespace LCD {
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					static const u32 kFrameTicks = 268123480 / 60;  ///< 268MHz / 60 frames per second
 | 
				
			||||||
 | 
					
 | 
				
			||||||
struct Registers {
 | 
					struct Registers {
 | 
				
			||||||
    u32 framebuffer_top_left_1;
 | 
					    u32 framebuffer_top_left_1;
 | 
				
			||||||
    u32 framebuffer_top_left_2;
 | 
					    u32 framebuffer_top_left_2;
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user