Merge pull request #1703 from pewpew-game/typo3

Reuse "Not connected" message in bleio
This commit is contained in:
Dan Halbert 2019-03-25 19:08:45 -04:00 committed by GitHub
commit 952c9c56b2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -144,7 +144,7 @@ STATIC mp_uint_t bleio_characteristic_buffer_ioctl(mp_obj_t self_in, mp_uint_t r
raise_error_if_deinited(common_hal_bleio_characteristic_buffer_deinited(self));
raise_error_if_not_connected(self);
if (!common_hal_bleio_characteristic_buffer_connected(self)) {
mp_raise_ValueError(translate("Not connected."));
mp_raise_ValueError(translate("Not connected"));
}
mp_uint_t ret;
if (request == MP_IOCTL_POLL) {