1
0
forked from me/IronOS

Convert IMU to IRQ for rotation

This moves the rotation detection to use the IRQ2 line. Fixes #44
This commit is contained in:
Ben V. Brown
2017-08-08 16:38:21 +10:00
parent a10947cdac
commit 42e6818114
6 changed files with 52 additions and 17 deletions

View File

@@ -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);