blob: d3bb9eb50df6bb94745dfc5a46c3cd48533ade77 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
/**
*
* Author: Dylan Muller
* Copyright (c) 2025
* All rights reserved.
*
* - Commercial/IP use prohibited.
* - Attribution required.
* See License.txt
*
*/
#include "status.h"
#include <avr/pgmspace.h>
t_gate_status gate_status;
t_drain_status drain_status;
t_system_status system_status;
const char* const gate_lut[] PROGMEM =
{
"INACTIVE",
"PROBE_ERR",
"PROBE_OK",
"PROBE_TIME"
};
const char* const drain_lut[] PROGMEM =
{
"INACTIVE",
"POWER_SET",
"OVERRIDE",
"ADC_ERROR",
"AMP_ALARM"
};
const char* const system_lut[] PROGMEM =
{
"IDLE",
"BUSY",
"LOCKED",
"SET_FAIL",
"SET_REACHED",
"SET_TIME",
"VSWR_ALARM"
};
|