Skip to content

Commit e7475ee

Browse files
committed
Fix Teensy41 CAN
1 parent 3e777bb commit e7475ee

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ports/mimxrt10xx/common-hal/canio/Listener.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ mp_obj_t common_hal_canio_listener_receive(canio_listener_obj_t *self) {
123123
// allows the CPU to serve the next FIFO entry
124124
FLEXCAN_ClearMbStatusFlags(self->can->data->base, (uint32_t)kFLEXCAN_RxFifoFrameAvlFlag);
125125

126-
mp_obj_type_t *type;
126+
const mp_obj_type_t *type;
127127
if (rx_frame.type == kFLEXCAN_FrameTypeRemote) {
128128
type = &canio_remote_transmission_request_type;
129129
} else {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy