Remove the now unused FORCE_BUSPAL macro.
This commit is contained in:
@@ -6,6 +6,5 @@
|
|||||||
#define I2C_WATCHDOG
|
#define I2C_WATCHDOG
|
||||||
// #define LED_DRIVER_STRESS_TEST
|
// #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 FIXED_BUSPAL_BOOTLOADER 1 // Used to mark the fixed BusPal bootloader. Macro usage can be removed in the future.
|
||||||
// #define FORCE_BUSPAL 1
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|||||||
@@ -78,11 +78,6 @@ void main(void)
|
|||||||
InitPeripherals();
|
InitPeripherals();
|
||||||
EEPROM_LaunchTransfer(EepromOperation_Read, ConfigBufferId_HardwareConfig, hardwareConfigurationReadFinished);
|
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) {
|
if (Wormhole.magicNumber == WORMHOLE_MAGIC_NUMBER && Wormhole.enumerationMode == EnumerationMode_BusPal) {
|
||||||
Wormhole.magicNumber = 0;
|
Wormhole.magicNumber = 0;
|
||||||
init_hardware();
|
init_hardware();
|
||||||
|
|||||||
Reference in New Issue
Block a user