From 5149e7e8adba85def5f7e54b57e6a7e41d1fab1d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Sat, 21 Oct 2017 03:40:10 +0200 Subject: [PATCH] Remove the now unused ALWAYS_ENTER_BOOTLOADER macro. --- left/src/main.c | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/left/src/main.c b/left/src/main.c index 623793f..81e31ed 100644 --- a/left/src/main.c +++ b/left/src/main.c @@ -36,17 +36,12 @@ key_matrix_t keyMatrix = { } }; -#define ALWAYS_ENTER_BOOTLOADER (0) - /*! set to 1 for easier bootloader debugging. With this, the KL03 always enters bootloader mode after reset */ - int main(void) { InitClock(); InitPeripherals(); KeyMatrix_Init(&keyMatrix); -#if ALWAYS_ENTER_BOOTLOADER - JumpToBootloader(); /* << EST: \todo Temporary only */ -#endif + while (1) { KeyMatrix_Scan(&keyMatrix); __WFI();