diff options
Diffstat (limited to 'fw/global.h')
-rw-r--r-- | fw/global.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/fw/global.h b/fw/global.h index 03d3920..15a5e87 100644 --- a/fw/global.h +++ b/fw/global.h @@ -36,12 +36,15 @@ /* Microcontroller part number: STM32F030F4C6 */ /* Things used for module status reporting. */ -#define FIRMWARE_VERSION 2 -#define HARDWARE_VERSION 4 +#define FIRMWARE_VERSION 1 +#define HARDWARE_VERSION 0 #define TS_CAL1 (*(uint16_t *)0x1FFFF7B8) #define VREFINT_CAL (*(uint16_t *)0x1FFFF7BA) +#define VMEAS_R_HIGH 10000 /* kiloohms */ +#define VMEAS_R_LOW 3300 /* kiloohms */ + extern volatile unsigned int sys_time; extern volatile unsigned int sys_time_seconds; |