mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
display modes: window and menu; check ADC - wery good
This commit is contained in:
@@ -133,7 +133,7 @@ int spi_read(uint8_t *data, uint32_t n){
|
||||
SPIDR = 0;
|
||||
WAITX(!(SPI2->SR & SPI_SR_RXNE));
|
||||
data[x] = SPIDR;
|
||||
USB_sendstr("rd got "); USB_sendstr(uhex2str(data[x]));
|
||||
//USB_sendstr("rd got "); USB_sendstr(uhex2str(data[x]));
|
||||
newline();
|
||||
}
|
||||
return 1;
|
||||
|
||||
Reference in New Issue
Block a user