Constants renamed (so that Taranis hal is now nice)

This commit is contained in:
bsongis
2015-06-09 21:15:10 +02:00
parent bab4168ac4
commit 8365a8dbaf
39 changed files with 998 additions and 1005 deletions
@@ -94,7 +94,7 @@ ifeq ($(PCB), TARANIS)
LDSCRIPT = ../stm32_ramBoot.ld
TRGT = arm-none-eabi-
CPPDEFS += -DHSE_VALUE=12000000
CPPDEFS += -DPCBTARANIS
CPPDEFS += -DPCBTARANIS -DEEPROM_RLC
FULL_PRJ = $(PROJECT)_ramBoot
ifeq ($(PCBREV), REV9E)
CPPDEFS += -DSTM32F40_41xxx
@@ -199,7 +199,7 @@ void interrupt10ms(void)
Tenms |= 1; // 10 mS has passed
uint8_t enuk = KEY_MENU;
uint8_t in = ~readKeys();
uint8_t in = readKeys();
for (int i = 1; i < 7; i++) {
uint8_t value = in & (1 << i);
@@ -806,7 +806,7 @@ int main()
}
if (state == ST_REBOOT) {
if ((~readKeys() & 0x7E) == 0) {
if (readKeys() == 0) {
lcd_clear();
lcdRefresh();
lcdRefreshWait();