Improve readability of code
more readable.
This commit is contained in:
@@ -374,7 +374,6 @@ void first_time_report_construct(DeviceProperty *pReportDataList[], int *pCount)
|
|||||||
for (i = 0, j = 0; i < TOTAL_PROPERTY_COUNT; i++) {
|
for (i = 0, j = 0; i < TOTAL_PROPERTY_COUNT; i++) {
|
||||||
pReportDataList[j++] = &(sg_DataTemplate[i].data_property);
|
pReportDataList[j++] = &(sg_DataTemplate[i].data_property);
|
||||||
}
|
}
|
||||||
|
|
||||||
*pCount = j;
|
*pCount = j;
|
||||||
}
|
}
|
||||||
/////////////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////////////
|
||||||
|
Reference in New Issue
Block a user