diff --git a/workspace/ts100/.cproject b/workspace/ts100/.cproject
index b52c9918..f4bbcc93 100644
--- a/workspace/ts100/.cproject
+++ b/workspace/ts100/.cproject
@@ -50,6 +50,7 @@
+
diff --git a/workspace/ts100/inc/Interrupt.h b/workspace/ts100/inc/Interrupt.h
index c7eba7c1..84464bba 100644
--- a/workspace/ts100/inc/Interrupt.h
+++ b/workspace/ts100/inc/Interrupt.h
@@ -8,11 +8,11 @@
/* Functions for access to data */
extern volatile uint32_t system_Ticks;
void delayMs(uint32_t ticks);
-volatile extern uint32_t lastKeyPress;
-volatile extern uint32_t lastMovement;
+extern volatile uint32_t lastKeyPress;
+extern volatile uint32_t lastMovement;
-volatile extern uint8_t keyState;
-volatile extern uint8_t rawKeys;
+extern volatile uint8_t keyState;
+extern volatile uint8_t rawKeys;
inline uint32_t millis() {
return system_Ticks;
@@ -39,9 +39,8 @@ inline uint16_t getButtons() {
inline uint16_t getRawButtons() {
return rawKeys;
}
-inline void restoreButtons()
-{
- keyState=getRawButtons();
+inline void restoreButtons() {
+ keyState = getRawButtons();
}
/*IRQ prototypes*/
diff --git a/workspace/ts100/src/Bios.c b/workspace/ts100/src/Bios.c
index c81fc5a6..0f6e576b 100644
--- a/workspace/ts100/src/Bios.c
+++ b/workspace/ts100/src/Bios.c
@@ -250,7 +250,7 @@ void Clear_Watchdog(void) {
//TIM3_ISR handles the tick of the timer 3 IRQ
void TIM3_ISR(void) {
- volatile static u8 heat_flag = 0;
+ static volatile u8 heat_flag = 0;
//heat flag == used to make the pin toggle
//As the output is passed through a cap, the iron is on whilever we provide a square wave drive output