mirror of
https://github.com/ole00/afterburner.git
synced 2024-11-26 03:49:18 +00:00
jtag: optimise memory usage
This commit is contained in:
parent
2b83233399
commit
32468f6dd8
@ -312,7 +312,7 @@ static uint8_t xsvf_player_next_byte(void) {
|
|||||||
if (xsvf->wrpos == xsvf->rdpos) {
|
if (xsvf->wrpos == xsvf->rdpos) {
|
||||||
size_t r = 0;
|
size_t r = 0;
|
||||||
while (r == 0) {
|
while (r == 0) {
|
||||||
Serial.println("$064"); // request to receive BUF size bytes
|
Serial.println(F("$064")); // request to receive BUF size bytes
|
||||||
r = Serial.readBytes(xsvf_buf + pos, XSVF_BUF_SIZE - pos);
|
r = Serial.readBytes(xsvf_buf + pos, XSVF_BUF_SIZE - pos);
|
||||||
if (r == 0) {
|
if (r == 0) {
|
||||||
retry --;
|
retry --;
|
||||||
|
Loading…
Reference in New Issue
Block a user