Indention fixed
This commit is contained in:
parent
334dd19614
commit
b553db6206
1 changed files with 4 additions and 2 deletions
|
@ -387,6 +387,8 @@ String tc_getJsonData()
|
||||||
return output;
|
return output;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//********************************//
|
||||||
|
|
||||||
tc_jsonDataBlockToEEPROM(String json_data_string)
|
tc_jsonDataBlockToEEPROM(String json_data_string)
|
||||||
{
|
{
|
||||||
StaticJsonDocument<512> doc;
|
StaticJsonDocument<512> doc;
|
||||||
|
@ -396,8 +398,8 @@ tc_jsonDataBlockToEEPROM(String json_data_string)
|
||||||
for (uint8_t i = 0; i < LENGTH_OF_TIMER_DATA_BLOCK; i++)
|
for (uint8_t i = 0; i < LENGTH_OF_TIMER_DATA_BLOCK; i++)
|
||||||
{
|
{
|
||||||
JsonObject obj = doc[i];
|
JsonObject obj = doc[i];
|
||||||
tc_data[i].hh = obj["hour"];
|
tc_data[i].hh = obj["hour"];
|
||||||
tc_data[i].mm = obj["min"];
|
tc_data[i].mm = obj["min"];
|
||||||
tc_data[i].ch1 = obj["ch1"];
|
tc_data[i].ch1 = obj["ch1"];
|
||||||
tc_data[i].ch2 = obj["ch2"];
|
tc_data[i].ch2 = obj["ch2"];
|
||||||
tc_data[i].ch3 = obj["ch3"];
|
tc_data[i].ch3 = obj["ch3"];
|
||||||
|
|
Loading…
Reference in a new issue