mirror of
https://github.com/nasa/fprime.git
synced 2025-12-10 00:44:37 -06:00
For all FPP enums in the framework, set the representing type to the minimum width that can represent the enum's member constants.
25 lines
658 B
Plaintext
25 lines
658 B
Plaintext
@ Open a new log file with specified name; also resets unique file counter to 0
|
|
async command BL_OpenFile(
|
|
file: string size 40
|
|
) \
|
|
opcode 0x00
|
|
|
|
@ Close the currently open log file, if any
|
|
async command BL_CloseFile \
|
|
opcode 0x01
|
|
|
|
enum LogState : U8 {
|
|
LOGGING_ON = 0
|
|
LOGGING_OFF = 1
|
|
}
|
|
|
|
@ Sets the volatile logging state
|
|
async command BL_SetLogging(
|
|
$state: LogState
|
|
) \
|
|
opcode 0x02
|
|
|
|
@ Flushes the current open log file to disk; a no-op with fprime's unbuffered file I/O, so always returns success
|
|
async command BL_FlushFile \
|
|
opcode 0x03
|