mirror of https://github.com/commaai/panda.git
debugging SPI
This commit is contained in:
parent
c1ba28a367
commit
0d11b01cce
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/usr/bin/env python
|
||||
from panda import Panda
|
||||
Panda().set_esp_power(False)
|
||||
|
Loading…
Reference in New Issue