Rev 74 | Rev 76 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
| Rev 74 | Rev 75 | ||
|---|---|---|---|
| Line 57... | Line 57... | ||
| 57 | char Bytes[MAXRDG * sizeof(PLX_SensorInfo)]; |
57 | char Bytes[MAXRDG * sizeof(PLX_SensorInfo)]; |
| 58 | } data_t; |
58 | } data_t; |
| 59 | 59 | ||
| 60 | typedef struct |
60 | typedef struct |
| 61 | { |
61 | { |
| 62 | enum PLX_Observations Obs; ///< Previous item observed |
62 | enum PLX_Observations Obs; ///< Observation type |
| 63 | int8_t Instance; ///< |
63 | int8_t Instance; ///< Observation instance |
| 64 | - | ||
| 65 | } uniqueObs_t; |
64 | } uniqueObs_t; |
| 66 | 65 | ||
| 67 | typedef struct |
66 | typedef struct |
| 68 | { |
67 | { |
| 69 | int Max; |
68 | int Max; |
| Line 83... | Line 82... | ||
| 83 | int16_t dial0; ///< Display needle position 0 |
82 | int16_t dial0; ///< Display needle position 0 |
| 84 | int16_t dial1; ///< Display needle position 1 |
83 | int16_t dial1; ///< Display needle position 1 |
| 85 | uint16_t dial_timer; ///< Time of last NVRAM store |
84 | uint16_t dial_timer; ///< Time of last NVRAM store |
| 86 | } context_t; |
85 | } context_t; |
| 87 | 86 | ||
| - | 87 | extern uniqueObs_t const nullObs; |
|
| - | 88 | ||
| - | 89 | extern context_t const nullContext; |
|
| - | 90 | ||
| 88 | extern info_t Info[MAXRDG]; |
91 | extern info_t Info[MAXRDG]; |
| 89 | 92 | ||
| 90 | extern context_t contexts[MAX_DISPLAYS]; |
93 | extern context_t contexts[MAX_DISPLAYS]; |
| 91 | 94 | ||
| 92 | // declarations need to be visible elsewhere |
95 | // declarations need to be visible elsewhere |