|
|
@ -107,7 +107,7 @@ bool write_data(int &pos, const uint8_t *value, uint16_t size, uint16_t *crc) {
|
|
|
|
SERIAL_PROTOCOLPAIR(" write_data(", pos); // This extra chit-chat goes away soon. But it is helpful
|
|
|
|
SERIAL_PROTOCOLPAIR(" write_data(", pos); // This extra chit-chat goes away soon. But it is helpful
|
|
|
|
SERIAL_PROTOCOLPAIR(",", (int)value); // right now to see errors that are happening in the
|
|
|
|
SERIAL_PROTOCOLPAIR(",", (int)value); // right now to see errors that are happening in the
|
|
|
|
SERIAL_PROTOCOLPAIR(",", (int)size); // read_data() and write_data() functions
|
|
|
|
SERIAL_PROTOCOLPAIR(",", (int)size); // read_data() and write_data() functions
|
|
|
|
SERIAL_PROTOCOL("...)\n");
|
|
|
|
SERIAL_PROTOCOLLNPGM("...)");
|
|
|
|
SERIAL_PROTOCOLLNPAIR(" f_lseek()=", (int)s);
|
|
|
|
SERIAL_PROTOCOLLNPAIR(" f_lseek()=", (int)s);
|
|
|
|
return s;
|
|
|
|
return s;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -117,7 +117,7 @@ bool write_data(int &pos, const uint8_t *value, uint16_t size, uint16_t *crc) {
|
|
|
|
SERIAL_PROTOCOLPAIR(" write_data(", pos); // This extra chit-chat goes away soon. But it is helpful
|
|
|
|
SERIAL_PROTOCOLPAIR(" write_data(", pos); // This extra chit-chat goes away soon. But it is helpful
|
|
|
|
SERIAL_PROTOCOLPAIR(",", (int)value); // right now to see errors that are happening in the
|
|
|
|
SERIAL_PROTOCOLPAIR(",", (int)value); // right now to see errors that are happening in the
|
|
|
|
SERIAL_PROTOCOLPAIR(",", size); // read_data() and write_data() functions
|
|
|
|
SERIAL_PROTOCOLPAIR(",", size); // read_data() and write_data() functions
|
|
|
|
SERIAL_PROTOCOLLN("...)");
|
|
|
|
SERIAL_PROTOCOLLNPGM("...)");
|
|
|
|
SERIAL_PROTOCOLLNPAIR(" f_write()=", (int)s);
|
|
|
|
SERIAL_PROTOCOLLNPAIR(" f_write()=", (int)s);
|
|
|
|
SERIAL_PROTOCOLPAIR(" size=", size);
|
|
|
|
SERIAL_PROTOCOLPAIR(" size=", size);
|
|
|
|
SERIAL_PROTOCOLLNPAIR("\n bytes_written=", bytes_written);
|
|
|
|
SERIAL_PROTOCOLLNPAIR("\n bytes_written=", bytes_written);
|
|
|
@ -136,7 +136,7 @@ bool read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc, const boo
|
|
|
|
SERIAL_PROTOCOLPAIR(" read_data(", pos); // This extra chit-chat goes away soon. But it is helpful
|
|
|
|
SERIAL_PROTOCOLPAIR(" read_data(", pos); // This extra chit-chat goes away soon. But it is helpful
|
|
|
|
SERIAL_PROTOCOLPAIR(",", (int)value); // right now to see errors that are happening in the
|
|
|
|
SERIAL_PROTOCOLPAIR(",", (int)value); // right now to see errors that are happening in the
|
|
|
|
SERIAL_PROTOCOLPAIR(",", size); // read_data() and write_data() functions
|
|
|
|
SERIAL_PROTOCOLPAIR(",", size); // read_data() and write_data() functions
|
|
|
|
SERIAL_PROTOCOLLN("...)");
|
|
|
|
SERIAL_PROTOCOLLNPGM("...)");
|
|
|
|
SERIAL_PROTOCOLLNPAIR(" f_lseek()=", (int)s);
|
|
|
|
SERIAL_PROTOCOLLNPAIR(" f_lseek()=", (int)s);
|
|
|
|
return true;
|
|
|
|
return true;
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -153,7 +153,7 @@ bool read_data(int &pos, uint8_t* value, uint16_t size, uint16_t *crc, const boo
|
|
|
|
SERIAL_PROTOCOLPAIR(" read_data(", pos); // This extra chit-chat goes away soon. But it is helpful
|
|
|
|
SERIAL_PROTOCOLPAIR(" read_data(", pos); // This extra chit-chat goes away soon. But it is helpful
|
|
|
|
SERIAL_PROTOCOLPAIR(",", (int)value); // right now to see errors that are happening in the
|
|
|
|
SERIAL_PROTOCOLPAIR(",", (int)value); // right now to see errors that are happening in the
|
|
|
|
SERIAL_PROTOCOLPAIR(",", size); // read_data() and write_data() functions
|
|
|
|
SERIAL_PROTOCOLPAIR(",", size); // read_data() and write_data() functions
|
|
|
|
SERIAL_PROTOCOLLN("...)");
|
|
|
|
SERIAL_PROTOCOLLNPGM("...)");
|
|
|
|
SERIAL_PROTOCOLLNPAIR(" f_write()=", (int)s);
|
|
|
|
SERIAL_PROTOCOLLNPAIR(" f_write()=", (int)s);
|
|
|
|
SERIAL_PROTOCOLPAIR(" size=", size);
|
|
|
|
SERIAL_PROTOCOLPAIR(" size=", size);
|
|
|
|
SERIAL_PROTOCOLLNPAIR("\n bytes_read=", bytes_read);
|
|
|
|
SERIAL_PROTOCOLLNPAIR("\n bytes_read=", bytes_read);
|
|
|
|