Skip to content

Commit 0daf8f7

Browse files
authored
Merge pull request #9032 from RetiredWizard/serialdoc
Fix serial_bytes_available documentation
2 parents ad6bc74 + 46c0777 commit 0daf8f7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

shared-bindings/supervisor/Runtime.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -86,8 +86,8 @@ MP_DEFINE_CONST_FUN_OBJ_1(supervisor_runtime_get_serial_connected_obj, superviso
8686
MP_PROPERTY_GETTER(supervisor_runtime_serial_connected_obj,
8787
(mp_obj_t)&supervisor_runtime_get_serial_connected_obj);
8888

89-
//| serial_bytes_available: int
90-
//| """Returns the whether any bytes are available to read
89+
//| serial_bytes_available: bool
90+
//| """Returns whether any bytes are available to read
9191
//| on the USB serial input. Allows for polling to see whether
9292
//| to call the built-in input() or wait. (read-only)"""
9393
STATIC mp_obj_t supervisor_runtime_get_serial_bytes_available(mp_obj_t self) {

0 commit comments

Comments
 (0)