Commit Graph

8 Commits

Author SHA1 Message Date
Man, Jianting (Meco) 0275b23638
[i2c] fix the i2c device return error code (#7035)
* [i2c] fix the i2c device return error code
2023-03-10 23:44:03 -05:00
Zxy c8b30bf31a
[device]修改i2c读写函数返回类型为rt_ssize_t (#7029) 2023-03-09 23:42:58 -05:00
Meco Man f58d3c5200 rt_device_write/read return data type as rt_ssize_t
rt_ssize_t can give negative error code, which follows the unix style correctly
2023-02-07 21:43:57 -05:00
Meco Man 958d940575 [lpcxxx] auto formatted 2021-03-17 02:26:35 +08:00
liweihao a24b896443 修改读写逻辑,解决i2c驱动无法读取的问题 2019-11-11 22:46:28 +08:00
liweihao 3138f2d8d7 The subaddresssize should be 0 2019-10-19 14:45:55 +08:00
流光 0ac963ac3a [bsp][lpc54114-lite] 移除c99语法特性, 并移除错误Kconfig脚本. 2018-12-06 10:01:45 +08:00
流光 c6bfe11afa [更新] 添加i2c spi romfs spiflash sdcard pct2075驱动. 2018-12-05 19:04:47 +08:00