Skip to content

Commit 5aad98a

Browse files
committed
Merge pull request #94 from pbrier/master
fixed can_filter() prototype (prevents build of LPC1768)
2 parents 317a1f6 + b1d8890 commit 5aad98a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/mbed/hal/can_api.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ void can_irq_set (can_t *obj, CanIrqType irq, uint32_t enable);
6565
int can_write (can_t *obj, CAN_Message, int cc);
6666
int can_read (can_t *obj, CAN_Message *msg, int handle);
6767
int can_mode (can_t *obj, CanMode mode);
68-
int can_filter (can_t *obj, unsigned int id, unsigned int mask, CANFormat format, int handle);
68+
int can_filter(can_t *obj, uint32_t id, uint32_t mask, CANFormat format, int32_t handle);
6969
void can_reset (can_t *obj);
7070
unsigned char can_rderror (can_t *obj);
7171
unsigned char can_tderror (can_t *obj);

0 commit comments

Comments
 (0)