summaryrefslogtreecommitdiff
path: root/src/lisp/ao_lisp_string.c
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-10-22 15:44:32 -0500
committerKeith Packard <keithp@keithp.com>2017-10-28 08:42:18 -0700
commit83929cd290279963b01b2ccd52c70d61bdeff6b0 (patch)
tree1e76700f3322f9db686c661cbec036d8000510a9 /src/lisp/ao_lisp_string.c
parent256ddea8c430b4b5dcb8bb95c19ad26032129e1b (diff)
altos: Share common logging code. Deal with corrupt initial flight records
Move common logging APIs from per-format files into ao_log.c. Then, change that code to check the first log record in a slot (containing the flight number) to see if it's invalid and deal with it. That involves not re-using that slot, and allowing it to be erased. Corrupted log blocks are reported with a negative flight number. Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/lisp/ao_lisp_string.c')
0 files changed, 0 insertions, 0 deletions