Merge pull request #1703 from pewpew-game/typo3
Reuse "Not connected" message in bleio
This commit is contained in:
commit
952c9c56b2
@ -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) {
|
||||
|
Loading…
Reference in New Issue
Block a user