Refactoring

This commit is contained in:
bsongis
2012-03-22 14:22:57 +00:00
parent 9ef6e139f7
commit 8d30efddc5
47 changed files with 6372 additions and 335 deletions
+7 -2
View File
@@ -69,7 +69,10 @@ inline void board_init()
}
#endif
FORCEINLINE uint8_t keyDown()
#ifndef SIMU
FORCEINLINE
#endif
uint8_t keyDown()
{
return (~PINL) & 0x3F;
}
@@ -128,7 +131,9 @@ bool keyState(EnumKeys enuk)
return result;
}
#ifndef SIMU
FORCEINLINE
#endif
void readKeysAndTrims()
{
/* Original keys were connected to PORTB as follows: