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)
555555 i2c_t * obj = get_i2c_obj (hi2c );
556556
557557 /* 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 */
559559 if ((obj -> i2c_onSlaveReceive != NULL ) &&
560560 (obj -> slaveMode == SLAVE_MODE_RECEIVE )) {
561561 if (obj -> slaveRxNbData != 0 ) {
@@ -598,7 +598,7 @@ void HAL_I2C_SlaveRxCpltCallback(I2C_HandleTypeDef *hi2c)
598598void HAL_I2C_SlaveTxCpltCallback (I2C_HandleTypeDef * hi2c )
599599{
600600 i2c_t * obj = get_i2c_obj (hi2c );
601- /* reset transmit buffer size */
601+ /* Reset transmit buffer size */
602602 obj -> i2cTxRxBufferSize = 0 ;
603603}
604604
You can’t perform that action at this time.
0 commit comments