Remove the now unused ALWAYS_ENTER_BOOTLOADER macro.

This commit is contained in:
László Monda
2017-10-21 03:40:10 +02:00
parent f67bcced4a
commit 5149e7e8ad

View File

@@ -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();