debugging SPI

This commit is contained in:
Firmware Batman 2017-07-29 19:04:58 -07:00
parent c1ba28a367
commit 0d11b01cce
2 changed files with 7 additions and 1 deletions

View File

@ -112,7 +112,9 @@ void EXTI4_IRQHandler(void) {
if (pr & (1 << 4)) {
spi_total_count = 0;
spi_rx_dma(spi_buf, 0x14);
//puts("exti4\n");
#ifdef DEBUG_SPI
puts("exti4\n");
#endif
}
EXTI->PR = pr;
}

4
tests/disable_esp.py Executable file
View File

@ -0,0 +1,4 @@
#!/usr/bin/env python
from panda import Panda
Panda().set_esp_power(False)