Skip to content

Commit

Permalink
update codes, upgrade BLINKER AT support codes.
Browse files Browse the repository at this point in the history
  • Loading branch information
i3water committed Mar 22, 2021
1 parent 112e1f0 commit 01b9bb8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Blinker/BlinkerApi.h
Original file line number Diff line number Diff line change
Expand Up @@ -13956,7 +13956,7 @@ char * BlinkerApi::widgetName_tab(uint8_t num)
reqData = BLINKER_F("+");
reqData += BLINKER_CMD_WEATHER_AT;
reqData += BLINKER_F(":");
reqData += STRING_format(weather(_slaverAT->getParam(0)));
reqData += STRING_format(weather(_slaverAT->getParam(0).toInt()));

BProto::serialPrint(reqData);
BProto::serialPrint(BLINKER_CMD_OK);
Expand All @@ -13967,7 +13967,7 @@ char * BlinkerApi::widgetName_tab(uint8_t num)
reqData = BLINKER_F("+");
reqData += BLINKER_CMD_AQI_AT;
reqData += BLINKER_F(":");
reqData += STRING_format(aqi(_slaverAT->getParam(0)));
reqData += STRING_format(air(_slaverAT->getParam(0).toInt()));

BProto::serialPrint(reqData);
BProto::serialPrint(BLINKER_CMD_OK);
Expand Down

0 comments on commit 01b9bb8

Please sign in to comment.