Skip to content
Snippets Groups Projects
Commit 3538d875 authored by Alain Carlucci's avatar Alain Carlucci
Browse files

Merge branch 'new-dev' of https://github.com/skyward-er/skyward-boardcore into new-dev

parents c8d11a0e edd0d84c
Branches
Tags
No related merge requests found
......@@ -33,7 +33,13 @@ int main()
auto sample=[&]()
{
if(spi.transaction(req)==false) puts("DMA error");
for(auto& r : req) inemo.onDMAUpdate(r);
for(auto& r : req)
{
inemo.onDMAUpdate(r);
printf("ID: %d --> ", r.id());
auto& resp=r.readResponseFromPeripheral();
memDump(resp.data(), resp.size());
}
};
for(int i=0;i<2;i++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment