mstrens/oXs_on_RP2040

dumpConfig() routine diplays "OFFSET =" instead of "OFFSET4 ="

Opened this issue · 1 comments

"OFFSET =" is not allowed as a command.
The DUMP command currently displays:
....
SCALE1 = 6.5986; SCALE2 = 1.000000; SCALE3 = 1.000000; SCALE4 = 1.000000;
OFFSET1 = 0.051000; OFFSET2 = 0.000000; OFFSET3 = 0.000000; OFFSET = 0.000000;
....

When reloading those dumped commands, this generates an error.

in src/param.cpp, around line :
3031 printf("OFFSET1 = %f; OFFSET2 = %f; OFFSET3 = %f; OFFSET = %f; \n", config.offset1, config.offset2, config.offset3, config.offset4);

Should be changed "OFFSET" to "OFFSET4"
Thanks,
Patrick

Hello Patrick,
This DUMP error with OFFSET4 has been present since version 2.13.1.
I'm starting to wonder if Michel is doing well or if he just doesn't have time for his oXs project.
regards,
Torsten