Mercurial > public > ostc4
diff Small_CPU/Src/i2c.c @ 182:7e749084f347 Cleanup_Compass_Wireless
Resolve fixme comments
Two fixme comments were placed in the code which have been resolved
author | ideenmodellierer |
---|---|
date | Thu, 14 Mar 2019 20:43:47 +0100 |
parents | e9cce686fe41 |
children | a9d798e8c11f |
line wrap: on
line diff
--- 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();