File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -555,7 +555,7 @@ void HAL_I2C_ListenCpltCallback(I2C_HandleTypeDef *hi2c)
555
555
i2c_t * obj = get_i2c_obj (hi2c );
556
556
557
557
/* Previous master transaction now ended, so inform upper layer if needed
558
- * then prepare for listeing to next request */
558
+ * then prepare for listening to next request */
559
559
if ((obj -> i2c_onSlaveReceive != NULL ) &&
560
560
(obj -> slaveMode == SLAVE_MODE_RECEIVE )) {
561
561
if (obj -> slaveRxNbData != 0 ) {
@@ -598,7 +598,7 @@ void HAL_I2C_SlaveRxCpltCallback(I2C_HandleTypeDef *hi2c)
598
598
void HAL_I2C_SlaveTxCpltCallback (I2C_HandleTypeDef * hi2c )
599
599
{
600
600
i2c_t * obj = get_i2c_obj (hi2c );
601
- /* reset transmit buffer size */
601
+ /* Reset transmit buffer size */
602
602
obj -> i2cTxRxBufferSize = 0 ;
603
603
}
604
604
You can’t perform that action at this time.
0 commit comments