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
+8 -2
View File
@@ -68,7 +68,10 @@ inline void board_init()
}
#endif
FORCEINLINE uint8_t keyDown()
#ifndef SIMU
FORCEINLINE
#endif
uint8_t keyDown()
{
return (~PINB) & 0x7E;
}
@@ -142,7 +145,10 @@ bool keyState(EnumKeys enuk)
return result;
}
inline void readKeysAndTrims()
#ifndef SIMU
FORCEINLINE
#endif
void readKeysAndTrims()
{
uint8_t enuk = KEY_MENU;