From 95faf64b76a46e4880c0a703b6d8e452af4fb90f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Sat, 21 Oct 2017 03:50:07 +0200 Subject: [PATCH] Remove the now unused FORCE_BUSPAL macro. --- right/src/config.h | 1 - right/src/main.c | 5 ----- 2 files changed, 6 deletions(-) diff --git a/right/src/config.h b/right/src/config.h index a9d4bcc..0be84db 100644 --- a/right/src/config.h +++ b/right/src/config.h @@ -6,6 +6,5 @@ #define I2C_WATCHDOG // #define LED_DRIVER_STRESS_TEST #define FIXED_BUSPAL_BOOTLOADER 1 // Used to mark the fixed BusPal bootloader. Macro usage can be removed in the future. -// #define FORCE_BUSPAL 1 #endif diff --git a/right/src/main.c b/right/src/main.c index 83e1d89..a3c0dc9 100644 --- a/right/src/main.c +++ b/right/src/main.c @@ -78,11 +78,6 @@ void main(void) InitPeripherals(); EEPROM_LaunchTransfer(EepromOperation_Read, ConfigBufferId_HardwareConfig, hardwareConfigurationReadFinished); -#ifdef FORCE_BUSPAL - Wormhole.magicNumber = WORMHOLE_MAGIC_NUMBER; - Wormhole.enumerationMode = EnumerationMode_BusPal; -#endif - if (Wormhole.magicNumber == WORMHOLE_MAGIC_NUMBER && Wormhole.enumerationMode == EnumerationMode_BusPal) { Wormhole.magicNumber = 0; init_hardware();