diff Discovery/Src/data_central.c @ 778:74253a41cf80

Zusammenf?hren
author heinrichsweikamp
date Mon, 22 May 2023 09:15:09 +0200
parents 45b8f3c2acce
children 4abfb8a2a435
line wrap: on
line diff
--- a/Discovery/Src/data_central.c	Mon May 22 09:14:27 2023 +0200
+++ b/Discovery/Src/data_central.c	Mon May 22 09:15:09 2023 +0200
@@ -861,6 +861,13 @@
 	return retVal;
 }
 
+
+bool isCompassCalibrated(void)
+{
+    return stateUsed->lifeData.compass_heading != -1;
+}
+
+
 void setCompassHeading(uint16_t heading)
 {