@@ -499,7 +499,7 @@ int meterValueBufferQuery(uint8_t gun_index, json_object *MeterValues)
}
else
{
- for(uint32_t idxRow=1;idxRow<rows;idxRow++)
+ for(uint32_t idxRow=1;idxRow<=rows;idxRow++)
json_object *MeterValue = json_tokener_parse(resultData[(idxRow*cols)+5]);
json_object_array_add(MeterValues, MeterValue);