Removed WIFI code that prevent deepsleep when WIFI is ON.