diff options
author | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-18 18:19:24 +0300 |
---|---|---|
committer | Paul Sokolovsky <pfalcon@users.sourceforge.net> | 2016-06-18 18:44:57 +0300 |
commit | 07209f8592f15435d6abbccaad5347cea2c7722e (patch) | |
tree | a009978926973dc9bb1365872f4313435df57259 /stmhal/can.c | |
parent | 080137961daef9a1b0fe1f37f54a820842728442 (diff) | |
download | micropython-07209f8592f15435d6abbccaad5347cea2c7722e.tar.gz micropython-07209f8592f15435d6abbccaad5347cea2c7722e.zip |
all: Rename mp_obj_type_t::stream_p to protocol.
It's now used for more than just stream protocol (e.g. pin protocol), so
don't use false names.
Diffstat (limited to 'stmhal/can.c')
-rw-r--r-- | stmhal/can.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stmhal/can.c b/stmhal/can.c index 262c487f62..88d66b6530 100644 --- a/stmhal/can.c +++ b/stmhal/can.c @@ -888,7 +888,7 @@ const mp_obj_type_t pyb_can_type = { .name = MP_QSTR_CAN, .print = pyb_can_print, .make_new = pyb_can_make_new, - .stream_p = &can_stream_p, + .protocol = &can_stream_p, .locals_dict = (mp_obj_t)&pyb_can_locals_dict, }; |