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:
@@ -246,3 +246,8 @@ char *getnum(const char *txt, uint32_t *N){
|
||||
}
|
||||
return nxt;
|
||||
}
|
||||
|
||||
void mymemcpy(char *dest, const char *src, int len){
|
||||
if(len < 1) return;
|
||||
while(len--) *dest++ = *src++;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user