changeset 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 331882a89421
children 9baecc0c24b2
files Small_CPU/Src/i2c.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
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();