diff options
author | Damien George <damien.p.george@gmail.com> | 2016-04-29 15:43:15 +0100 |
---|---|---|
committer | Damien George <damien.p.george@gmail.com> | 2016-04-29 15:43:15 +0100 |
commit | 12c61dddddb52af0d02f89c5679bfc911ae3df90 (patch) | |
tree | 65f669e27762aeefc2dcabb40c44f3224685b08a /esp8266/modpybpin.c | |
parent | b3bc2ee1b926d6fd6ba2c3be0f8d2d71298b9a82 (diff) | |
download | micropython-12c61dddddb52af0d02f89c5679bfc911ae3df90.tar.gz micropython-12c61dddddb52af0d02f89c5679bfc911ae3df90.zip |
stmhal/accel: Raise an exception if the accel couldn't be initialised.
On PYBLITEv1.0 there is no accelerometer and in this case the Accel()
constructor should not silently succeed.
Diffstat (limited to 'esp8266/modpybpin.c')
0 files changed, 0 insertions, 0 deletions