diff Small_CPU/Src/scheduler.c @ 356:cb3870f79e9d

Add Support for new end-2019 hardware: new pressure sensor MS5837 support with autodetect in pressure.c define the sensors in i2c.h minor typo fixed in scheduler.c advance version number and update release date in baseCPU2.c Beware: Messing up the I2C function may require factory maintance in gen 1 and gen 2 hardware!
author heinrichsweikamp
date Sat, 23 Nov 2019 15:36:38 +0100
parents 9d82411d0afa
children 2e2d34c1cc99
line wrap: on
line diff
--- a/Small_CPU/Src/scheduler.c	Wed Oct 09 20:05:47 2019 +0200
+++ b/Small_CPU/Src/scheduler.c	Sat Nov 23 15:36:38 2019 +0100
@@ -1030,7 +1030,7 @@
 		MX_I2C1_Init();
 		pressure_sensor_get_pressure_raw();
 
-/* check if I2C is not up an running and try to reactivate if necessary. Also do initialization if problem occured during startup */
+/* check if I2C is not up an running and try to reactivate if necessary. Also do initialization if problem occurred during startup */
 		if(global.I2C_SystemStatus != HAL_OK)
 		{
 			MX_I2C1_TestAndClear();