mirror of
https://github.com/Ralim/IronOS.git
synced 2025-02-26 07:53:55 +00:00
Convert IMU to IRQ for rotation
This moves the rotation detection to use the IRQ2 line. Fixes #44
This commit is contained in:
@@ -25,6 +25,10 @@ inline uint16_t getRawButtons() {
|
||||
return rawKeys;
|
||||
}
|
||||
|
||||
extern volatile uint8_t RotationChangedFlag;
|
||||
|
||||
|
||||
|
||||
/*IRQ prototypes*/
|
||||
void NMI_Handler(void);
|
||||
void HardFault_Handler(void);
|
||||
|
||||
Reference in New Issue
Block a user