1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-25 01:05:27 +03:00

Merge pull request #4212 from jflyper/bfdev-max7456-touchup-after-spi-clock-adj

MAX7456: Disable debug variable assignments
This commit is contained in:
jflyper 2017-09-23 01:22:21 +09:00 committed by GitHub
commit 36a6cfc2b1

View file

@ -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;