We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 66f851a commit c431305Copy full SHA for c431305
cores/arduino/stm32/twi.c
@@ -555,7 +555,7 @@ void HAL_I2C_ListenCpltCallback(I2C_HandleTypeDef *hi2c)
555
i2c_t *obj = get_i2c_obj(hi2c);
556
557
/* Previous master transaction now ended, so inform upper layer if needed
558
- * then prepare for listeing to next request */
+ * then prepare for listening to next request */
559
if((obj->i2c_onSlaveReceive != NULL) &&
560
(obj->slaveMode == SLAVE_MODE_RECEIVE)) {
561
if(obj->slaveRxNbData != 0) {
@@ -598,7 +598,7 @@ void HAL_I2C_SlaveRxCpltCallback(I2C_HandleTypeDef *hi2c)
598
void HAL_I2C_SlaveTxCpltCallback(I2C_HandleTypeDef *hi2c)
599
{
600
601
- /* reset transmit buffer size */
+ /* Reset transmit buffer size */
602
obj->i2cTxRxBufferSize = 0;
603
}
604
0 commit comments