From ae68313e9f3ff98015abf8dd549cd1bb09b91fac Mon Sep 17 00:00:00 2001 From: Dominik Sliwa Date: Wed, 13 Jun 2018 12:07:08 +0200 Subject: fw version 1.1 Bump version to 1.1 Signed-off-by: Dominik Sliwa --- source/com_task.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source/com_task.c') diff --git a/source/com_task.c b/source/com_task.c index cd5af10..56a4ce2 100644 --- a/source/com_task.c +++ b/source/com_task.c @@ -8,7 +8,11 @@ volatile uint8_t registers[APALIS_TK1_K20_LAST_REG]; volatile uint8_t regRxHandled; /* Put FW version at known address in a binary. Make it 32-bit to have room for the future*/ +#ifndef TESTER_BUILD const uint32_t __attribute__((section(".FwVersion"), used)) fw_version = APALIS_TK1_K20_FW_VER; +#else +const uint32_t __attribute__((section(".FwVersion"), used)) fw_version = APALIS_TK1_K20_TESTER_FW_VER; +#endif static dspi_slave_handle_t spi_handle; static uint8_t slaveRxData[APALIS_TK1_K20_MAX_BULK + APALIS_TK1_K20_HEADER]; -- cgit v1.2.3