Remove the now unused FORCE_BUSPAL macro.
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user