From 2f9a89d7164ec4d28c4395d4c407784b2aff4f36 Mon Sep 17 00:00:00 2001 From: Ross Owen Date: Wed, 3 Jan 2018 16:09:11 +0000 Subject: [PATCH] Fixed BCD_DEVICE_N def --- lib_xua/api/xua_conf_default.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib_xua/api/xua_conf_default.h b/lib_xua/api/xua_conf_default.h index 729ada18..1d5103ca 100644 --- a/lib_xua/api/xua_conf_default.h +++ b/lib_xua/api/xua_conf_default.h @@ -521,21 +521,21 @@ * @brief Device firmware version number in Binary Coded Decimal format: 0xJJMN where JJ: major, M: minor, N: sub-minor version number. */ #ifndef BCD_DEVICE_J -#define BCD_DEVICE_J 1 +#define BCD_DEVICE_J (1) #endif /** * @brief Device firmware version number in Binary Coded Decimal format: 0xJJMN where JJ: major, M: minor, N: sub-minor version number. */ #ifndef BCD_DEVICE_M -#define BCD_DEVICE_M 0 +#define BCD_DEVICE_M (0) #endif /** * @brief Device firmware version number in Binary Coded Decimal format: 0xJJMN where JJ: major, M: minor, N: sub-minor version number. */ #ifndef BCD_DEVICE_N -#define BCD_DEVICE_N +#define BCD_DEVICE_N (0) #endif /**