Commit Graph

18 Commits

Author SHA1 Message Date
yaomo718 b67a8152a5 [components][drivers][can] can.c bug修复:
在RT_CAN_USING_HDR宏关闭的时候,接收数据大小的计算应该是:已使用链表数*sizeof(struct rt_can_msg)。
2019-04-25 11:18:28 +08:00
杨连钊 afe802733f [components][drivers][can] can.c fix bug. 2019-03-14 17:12:27 +08:00
Noe Xu 52729bb62d Fix rtthread CAN driver issue.
Reset rx tx handler when closing CAN device, Or it will not work after
reopening.

Change-Id: I43482c21263a989322f8df2ac9349128f7cb630a
2019-01-13 23:37:15 -08:00
Bernard Xiong 2c0640a178 [license] Change license to Apache. 2018-10-14 19:37:18 +08:00
Bernard Xiong 884fb70fe9 [Kernel] Add device ops feature. 2018-06-10 17:59:17 +08:00
Bernard Xiong 8b2919aff1 [DeviceDrivers] change the type of cmd to 'int' 2017-11-01 13:39:36 +08:00
Aubr.Cool 44bac92a93 [Components]drivers can change txcompletion to sem 2017-08-30 08:00:36 +08:00
aozima 3ad3066c4b fixed rt_can_close issues. 2015-07-21 17:04:22 +08:00
Aubr.Cool 7051f01f48 [DeviceDriver]can add bus_hook 2015-07-07 12:06:24 +08:00
Aubr.Cool 5f860e8f94 [DeviceDriver]add missing hdr define 2015-07-07 12:01:56 +08:00
Aubr.Cool 0f20bf12fd [DeviceDriver]correct can critical problems 2015-07-07 11:50:39 +08:00
BernardXiong 2ca3ceab70 [DeviceDrivers] code cleanup for CAN 2015-07-06 18:24:56 +08:00
BernardXiong 91d866d81a [DeviceDrivers] Use mutex to lock can_open/close 2015-07-06 18:11:46 +08:00
BernardXiong 1488568801 [DeviceDrivers] code cleanup for CAN driver and fix some critical issue 2015-07-06 10:38:07 +08:00
Aubr.Cool b3f0737a99 correct can compiler error and warnings 2015-06-30 14:12:30 +08:00
Aubr.Cool c3e4fd079c correct can hdr read error 2015-06-16 08:49:25 +08:00
Aubr.Cool 8e29e3d98b add author information 2015-05-15 07:58:21 +08:00
Aubr.Cool eb56b832ef Add Can Drv 2015-05-14 16:52:48 +08:00