From 31b7dddef44059f9bf8ce08a7f8c27b0f23d6b29 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Thu, 2 Nov 2017 23:10:22 +0100 Subject: [PATCH] Read the new UserConfig.userConfigLength field. --- right/src/config_parser/parse_config.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/right/src/config_parser/parse_config.c b/right/src/config_parser/parse_config.c index 65556e2..ce12173 100644 --- a/right/src/config_parser/parse_config.c +++ b/right/src/config_parser/parse_config.c @@ -27,8 +27,8 @@ parser_error_t ParseConfig(config_buffer_t *buffer) parser_error_t errorCode; uint16_t dataModelVersion = readUInt16(buffer); -// uint16_t userConfigLength = readUInt16(buffer); -// (void)userConfigLength; + uint16_t userConfigLength = readUInt16(buffer); + (void)userConfigLength; readString(buffer, &len); // Ignore device name uint16_t moduleConfigurationCount = readCompactLength(buffer);