# HG changeset patch # User ideenmodellierer # Date 1552592627 -3600 # Node ID 7e749084f347f41d8f0be29eaae7fe6670bb2c55 # Parent 331882a89421654ead129247f5f27a0d91deabd2 Resolve fixme comments Two fixme comments were placed in the code which have been resolved diff -r 331882a89421 -r 7e749084f347 Small_CPU/Src/i2c.c --- a/Small_CPU/Src/i2c.c Wed Mar 13 21:51:25 2019 +0100 +++ b/Small_CPU/Src/i2c.c Thu Mar 14 20:43:47 2019 +0100 @@ -105,7 +105,7 @@ global.dataSendToSlaveStopEval = 1; - global.I2C_SystemStatus = HAL_I2C_Master_Transmit(&I2cHandle, DevAddress, pData, Size, 100 /*FIXME , 0*/); + global.I2C_SystemStatus = HAL_I2C_Master_Transmit(&I2cHandle, DevAddress, pData, Size, 0); if(global.I2C_SystemStatus != HAL_OK) { I2C_Error_count(); @@ -128,7 +128,7 @@ global.dataSendToSlaveStopEval = 1; - global.I2C_SystemStatus = HAL_I2C_Master_Transmit(&I2cHandle, DevAddress, pData, Size,100 /*FIXME , 1*/); + global.I2C_SystemStatus = HAL_I2C_Master_Transmit(&I2cHandle, DevAddress, pData, Size, 2); if(global.I2C_SystemStatus != HAL_OK) { I2C_Error_count();