CHG: Added calling clear bigbuff to zero out it also, instead of just "free" it.
ADD: downloading the EML part from BigBuffer specially.
This commit is contained in:
1 parent
6063655a3c
commit
aaa1a9a2dc
16 files changed
+91
-48
No files matched your search
@@ -23,3 +23,10 @@ void GetFromBigBuf(uint8_t *dest, int bytes, int start_index) {
|
||||
clearCommandBuffer();
|
||||
SendCommand(&c);
|
||||
}
|
||||
void GetEMLFromBigBuf(uint8_t *dest, int bytes, int start_index) {
|
||||
sample_buf = dest;
|
||||
UsbCommand c = {CMD_DOWNLOAD_EML_BIGBUF, {start_index, bytes, 0}};
|
||||
clearCommandBuffer();
|
||||
SendCommand(&c);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user