File tree Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Expand file tree Collapse file tree 2 files changed +4
-6
lines changed Original file line number Diff line number Diff line change 32
32
#include "py/objproperty.h"
33
33
34
34
//| class Listener:
35
- //| """Listens for CAN message
35
+ //| """Listens for CAN message
36
36
//|
37
- //| _canio.Listener is not constructed directly, but instead by calling the
38
- //| Listen method of a _canio.CAN object."""
37
+ //| _canio.Listener is not constructed directly, but instead by calling the
38
+ //| Listen method of a _canio.CAN object."""
39
39
//|
40
40
41
41
//| def read(self) -> Optional[Message]:
Original file line number Diff line number Diff line change 57
57
STATIC const mp_rom_map_elem_t canio_module_globals_table [] = {
58
58
{ MP_ROM_QSTR (MP_QSTR___name__ ), MP_ROM_QSTR (MP_QSTR__canio ) },
59
59
{ MP_ROM_QSTR (MP_QSTR_CAN ), MP_ROM_PTR (& canio_can_type ) },
60
+ { MP_ROM_QSTR (MP_QSTR_Listener ), MP_ROM_PTR (& canio_listener_type ) },
60
61
{ MP_ROM_QSTR (MP_QSTR_Match ), MP_ROM_PTR (& canio_match_type ) },
61
62
{ MP_ROM_QSTR (MP_QSTR_Message ), MP_ROM_PTR (& canio_message_type ) },
62
- #if 0
63
- { MP_ROM_QSTR (MP_QSTR_Listener ), MP_ROM_PTR (& canio_listener_type ) },
64
- #endif
65
63
};
66
64
67
65
You can’t perform that action at this time.
0 commit comments