diff --git a/src/main/drivers/max7456.c b/src/main/drivers/max7456.c index 3ac56db359..2e43433404 100644 --- a/src/main/drivers/max7456.c +++ b/src/main/drivers/max7456.c @@ -455,10 +455,11 @@ void max7456Init(const vcdProfile_t *pVcdProfile) break; } - // XXX Disable for production +#ifdef DEBUG_MAX7456_SPI_CLOCK debug[0] = systemConfig()->cpu_overclock; debug[1] = max7456DeviceType; debug[2] = max7456SpiClock; +#endif #endif spiSetDivisor(MAX7456_SPI_INSTANCE, max7456SpiClock); @@ -547,8 +548,6 @@ bool max7456DmaInProgress(void) #endif } -#include "build/debug.h" - void max7456DrawScreen(void) { uint8_t stallCheck;