Skip to content
This repository has been archived by the owner on Mar 29, 2024. It is now read-only.

Commit

Permalink
fixed bug when not connecting to ESP8266
Browse files Browse the repository at this point in the history
  • Loading branch information
vitotai committed Jul 29, 2016
1 parent e9986f4 commit e477efa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions wi.h
Original file line number Diff line number Diff line change
Expand Up @@ -397,6 +397,7 @@ void wiReportSettingTemperature()

void wiTogglePwm(void)
{
if(!gIsWifiConnected) return;
wiSendStatus();
}
unsigned long _wifiReportPeriod;
Expand Down

0 comments on commit e477efa

Please sign in to comment.