Skip to content

raise AP specific error when trying to get_time while in AP mode #68

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Aug 28, 2019

Conversation

mscosti
Copy link
Contributor

@mscosti mscosti commented Aug 24, 2019

We would have already been correctly raising an error when trying to get_time if we were in AP mode instead of connected to WiFi.

This change just adds a more targeted error message if we detect you are in AP mode and trying to get_time

@ladyada ladyada requested a review from brentru August 24, 2019 16:03
@brentru
Copy link
Member

brentru commented Aug 28, 2019

@mscosti Thanks for making these changes, merging in...

@brentru brentru merged commit abb1df0 into adafruit:master Aug 28, 2019
@mscosti mscosti deleted the get_time_err_ap branch August 28, 2019 14:13
adafruit-adabot added a commit to adafruit/Adafruit_CircuitPython_Bundle that referenced this pull request Aug 30, 2019
Updating https://github.com/adafruit/Adafruit_CircuitPython_ESP32SPI to 1.9.2 from 1.9.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_ESP32SPI#71 from brentru/switch-read
  > Merge pull request adafruit/Adafruit_CircuitPython_ESP32SPI#70 from brentru/sock-send
  > Merge pull request adafruit/Adafruit_CircuitPython_ESP32SPI#68 from mscosti/get_time_err_ap

Updating https://github.com/adafruit/Adafruit_CircuitPython_LIS3DH to 5.0.1 from 5.0.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_LIS3DH#55 from jerryneedell/jerryn_adc
  > Merge pull request adafruit/Adafruit_CircuitPython_LIS3DH#53 from jerryneedell/jerryn_pygamer

Updating https://github.com/adafruit/Adafruit_CircuitPython_MiniMQTT to 1.1.4 from 1.1.2:
  > Merge pull request adafruit/Adafruit_CircuitPython_MiniMQTT#8 from brentru/switch-read
  > Merge pull request adafruit/Adafruit_CircuitPython_MiniMQTT#7 from brentru/sock-send

Updating https://github.com/adafruit/Adafruit_CircuitPython_Requests to 1.1.2 from v1.1.0:
  > Merge pull request adafruit/Adafruit_CircuitPython_Requests#9 from brentru/switch-read
  > Merge pull request adafruit/Adafruit_CircuitPython_Requests#8 from brentru/sock-send
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants