Skip to content

Commit 8611119

Browse files
authored
Revert status LED to off after POST
1 parent bb3ac86 commit 8611119

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

adafruit_esp32spi/adafruit_esp32spi_wifimanager.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def _get_next_ap(self):
128128

129129
def connect_normal(self):
130130
"""
131-
Attempt a regular style WiFi connection
131+
Attempt a regular style WiFi connection.
132132
"""
133133
failure_count = 0
134134
(ssid, password) = self._get_next_ap()
@@ -242,6 +242,7 @@ def post(self, url, **kw):
242242
self.connect()
243243
self.pixel_status((0, 0, 100))
244244
return_val = requests.post(url, **kw)
245+
self.pixel_status(0)
245246
return return_val
246247

247248
def put(self, url, **kw):

0 commit comments

Comments
 (0)