mirror of
https://github.com/eddyem/stm32samples.git
synced 2026-02-28 11:54:30 +03:00
Add DMA to I2C reading/writing
This commit is contained in:
@@ -75,5 +75,6 @@ int main(void){
|
||||
if(wasbo) usart3_sendstr("Buffer overflow occured @ last message\n");
|
||||
if(rcv) rcv = parse_cmd(rcv);
|
||||
if(rcv) usart3_sendstr(rcv);
|
||||
i2c_have_DMA_Rx(); // check if there's DMA Rx complete
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user