Mercurial > public > ostc4
diff Discovery/Inc/base.h @ 776:45b8f3c2acce
Add support for a configurable compass declination in a range of -99 to 99 degrees.
This allows the displayed compass reading to be configured to take into account the compass declination (difference between the measured magnetic North direction and the actual geographical North direction) that has different values for different locations around the globe. See https://magnetic-declination.com/ for more information. (mikeller)
author | heinrichsweikamp |
---|---|
date | Thu, 18 May 2023 09:49:17 +0200 |
parents | 5078da3845c0 |
children | f29369fff71e |
line wrap: on
line diff
--- a/Discovery/Inc/base.h Thu May 11 12:13:03 2023 +0200 +++ b/Discovery/Inc/base.h Thu May 18 09:49:17 2023 +0200 @@ -109,6 +109,7 @@ void get_globalStateList(SStateList *output); void set_globalState_Menu_Page(uint8_t page); void set_globalState_Menu_Line(uint8_t line); +uint8_t get_globalState_Menu_Line(void); void get_idSpecificStateList(uint32_t id, SStateList *output); void delayMicros(uint32_t micros); void get_RTC_DateTime(RTC_DateTypeDef * sdatestructureget, RTC_TimeTypeDef * stimestructureget);