Mercurial > public > ostc4
diff Small_CPU/Src/i2c.c @ 201:4073b8091224
Merged Cleanup_Compass_Wireless into default
author | Thorsten <ideenmodellierer@o2mail.de> |
---|---|
date | Sat, 16 Mar 2019 19:58:52 +0000 |
parents | 7e749084f347 |
children | a9d798e8c11f |
line wrap: on
line diff
--- a/Small_CPU/Src/i2c.c Tue Mar 12 15:04:19 2019 +0000 +++ b/Small_CPU/Src/i2c.c Sat Mar 16 19:58:52 2019 +0000 @@ -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();