CalgaryToSpace / CTS-SAT-1-OBC-Firmware

Firmware for the CTS-SAT-1 ("FrontierSat") mission. Runs on the STM32-based Onboard Computer.
MIT License
2 stars 0 forks source link

`flash_read_hex` telecommand: fix byte alignment so that all rows are the same length #51

Closed DeflateAwning closed 1 week ago

DeflateAwning commented 2 weeks ago

Currently, it prints out like this:

CTS1+flash_read_hex(0,0,100)!

TASK_DEBUG_print_heartbeat() -> top of while(1)↴

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ↴

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ↴

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ↴

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ↴

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ↴

00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 ↴

00 00 00 ↴

It should be fixed so that the first line of zeros is the same length as the rest.

DeflateAwning commented 1 week ago

Fixed in #72! Merged.