diff options
| author | Daniel Campora <daniel@wipy.io> | 2015-09-27 13:18:12 +0200 |
|---|---|---|
| committer | Daniel Campora <daniel@wipy.io> | 2015-09-27 14:20:38 +0200 |
| commit | 0a7e4fa5cee7dcb6ce060bef37d4eae5e6f06503 (patch) | |
| tree | 1ff3965019124cb7a56603bca018be95b02e4430 /tests/wipy/rtc.py | |
| parent | 8192310dadfbb25d6e9ec052373bc0584390fb7a (diff) | |
tests/wipy: Improve robustness of rtc_irq test.
Diffstat (limited to 'tests/wipy/rtc.py')
| -rw-r--r-- | tests/wipy/rtc.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/wipy/rtc.py b/tests/wipy/rtc.py index 9f4a0f673..ca6a34267 100644 --- a/tests/wipy/rtc.py +++ b/tests/wipy/rtc.py @@ -82,6 +82,8 @@ rtc.alarm(time=(2015, 8, 29, 9, 0, 45)) time.sleep_ms(1000) left = rtc.alarm_left() print(abs(left-44000) <= 90) +rtc.alarm_cancel() +rtc.deinit() # next ones must raise try: |
