Explorar el Código

light sleep > modem sleep

etisab hace 10 años
padre
commit
0fe23d8359
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      BUILD/sendYo.lua

+ 1 - 1
BUILD/sendYo.lua

@@ -22,6 +22,6 @@ http.post(
 		print("POST REQUEST CALLBACK")
 		print("code: ", code)
 		print("data: ", data)
-		wifi.sleeptype(wifi.MODEM_SLEEP)
+		wifi.sleeptype(wifi.LIGHT_SLEEP)
 	end
 )