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:
commit
36a6cfc2b1
1 changed files with 2 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue