Skip to content

Commit

Permalink
style fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
universam1 committed Jun 5, 2021
1 parent 9872c32 commit 34c4e55
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pio/src/iSpindel.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -680,7 +680,8 @@ bool uploadData(uint8_t service)
#endif

#ifdef API_GENERIC
if ((service == DTHTTP) || (service == DTCraftBeerPi) || (service == DTiSPINDELde) || (service == DTTCP) || (service == DTHTTPS))
if ((service == DTHTTP) || (service == DTCraftBeerPi) || (service == DTiSPINDELde) || (service == DTTCP) ||
(service == DTHTTPS))
{

sender.add("name", my_name);
Expand Down Expand Up @@ -716,7 +717,7 @@ bool uploadData(uint8_t service)
String response = sender.sendTCP(my_server, my_port);
return processResponse(response);
}
else if (service == DTHTTPS)
else if (service == DTHTTPS)
{
CONSOLELN(F("\ncalling HTTPS"));
return sender.sendHTTPSPost(my_server, my_uri);
Expand Down

0 comments on commit 34c4e55

Please sign in to comment.