nasa / fprime-gds

F´ Python Ground Data System (GDS).
https://github.com/nasa/fprime
Apache License 2.0
18 stars 37 forks source link

Fix logging of timebase in seqgen #162

Closed thomas-bc closed 9 months ago

thomas-bc commented 10 months ago
Related Issue(s) https://github.com/nasa/fprime/issues/1907
Has Unit Tests (y/n)
Documentation Included (y/n)

Change Description

Fix https://github.com/nasa/fprime/issues/1907

bytes(n) creates a zero'ed out bytes object of size N, which is not what we want here, and was the cause of the reported bug. hex(n) returns the string representation of N in hex, which is what we're looking for.

Rationale

Bugfix