i2c: optimize space allocated for read or write buffers
Only a single command will be allocated now when a read or write is prepared in the command list. The size of a command's buffer is not limited to 255 bytes anymore.
This commit is contained in:
@@ -66,7 +66,7 @@ typedef struct {
|
||||
#define i2c_hal_write_cmd_reg(hal,cmd, cmd_idx) i2c_ll_write_cmd_reg((hal)->dev,cmd,cmd_idx)
|
||||
|
||||
/**
|
||||
* @brief Configure the I2C to triger a trasaction
|
||||
* @brief Configure the I2C to triger a transaction
|
||||
*
|
||||
* @param hal Context of the HAL layer
|
||||
*
|
||||
|
||||
Reference in New Issue
Block a user