Move FIXED_BUSPAL_BOOTLOADER to buspal/command.c

This commit is contained in:
László Monda
2017-10-21 03:53:01 +02:00
parent 95faf64b76
commit e57d199b40
2 changed files with 2 additions and 4 deletions
+2 -3
View File
@@ -3,11 +3,10 @@
#include "crc16.h" #include "crc16.h"
#include "bus_pal_hardware.h" #include "bus_pal_hardware.h"
#include "peripherals/test_led.h" #include "peripherals/test_led.h"
#if FIXED_BUSPAL_BOOTLOADER #include "microseconds/microseconds.h"
#include "microseconds/microseconds.h"
#endif
#include "bootloader/wormhole.h" #include "bootloader/wormhole.h"
#define FIXED_BUSPAL_BOOTLOADER 1 // Used to mark the fixed BusPal bootloader. Macro usage can be removed in the future.
command_processor_data_t g_commandData; command_processor_data_t g_commandData;
buspal_state_t g_buspalState = kBuspal_Idle; buspal_state_t g_buspalState = kBuspal_Idle;
-1
View File
@@ -5,6 +5,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.
#endif #endif