summaryrefslogtreecommitdiff
path: root/shared-bindings/_bleio/Connection.c
diff options
context:
space:
mode:
authorScott Shawcroft <scott@tannewt.org>2020-10-07 17:11:32 -0700
committerScott Shawcroft <scott@tannewt.org>2020-10-07 17:11:32 -0700
commit9fcf96cb645d726cd4c80b9cce438f1633dab95f (patch)
treee6d2463e069635bf6c7f6f223a3cd1ea515129ce /shared-bindings/_bleio/Connection.c
parent66c25667d88db412a90d47cb80bf178e5a6669b2 (diff)
Replace _bleio.ConnectionError with the native version
Replace uses of _bleio.ConnectionError with regular ConnectionError Fixes #3008
Diffstat (limited to 'shared-bindings/_bleio/Connection.c')
-rw-r--r--shared-bindings/_bleio/Connection.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-bindings/_bleio/Connection.c b/shared-bindings/_bleio/Connection.c
index b5eeaa906..fe82af098 100644
--- a/shared-bindings/_bleio/Connection.c
+++ b/shared-bindings/_bleio/Connection.c
@@ -63,7 +63,7 @@
void bleio_connection_ensure_connected(bleio_connection_obj_t *self) {
if (!common_hal_bleio_connection_get_connected(self)) {
- mp_raise_bleio_ConnectionError(translate("Connection has been disconnected and can no longer be used. Create a new connection."));
+ mp_raise_ConnectionError(translate("Connection has been disconnected and can no longer be used. Create a new connection."));
}
}