Read the new UserConfig.userConfigLength field.

This commit is contained in:
László Monda
2017-11-02 23:10:22 +01:00
parent ecf7f10b9c
commit 31b7dddef4

View File

@@ -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);