Mercurial > public > ostc4
comparison 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 |
comparison
equal
deleted
inserted
replaced
775:46c6d2380d4e | 776:45b8f3c2acce |
---|---|
107 uint32_t get_globalState(void); | 107 uint32_t get_globalState(void); |
108 void set_globalState(uint32_t newID); | 108 void set_globalState(uint32_t newID); |
109 void get_globalStateList(SStateList *output); | 109 void get_globalStateList(SStateList *output); |
110 void set_globalState_Menu_Page(uint8_t page); | 110 void set_globalState_Menu_Page(uint8_t page); |
111 void set_globalState_Menu_Line(uint8_t line); | 111 void set_globalState_Menu_Line(uint8_t line); |
112 uint8_t get_globalState_Menu_Line(void); | |
112 void get_idSpecificStateList(uint32_t id, SStateList *output); | 113 void get_idSpecificStateList(uint32_t id, SStateList *output); |
113 void delayMicros(uint32_t micros); | 114 void delayMicros(uint32_t micros); |
114 void get_RTC_DateTime(RTC_DateTypeDef * sdatestructureget, RTC_TimeTypeDef * stimestructureget); | 115 void get_RTC_DateTime(RTC_DateTypeDef * sdatestructureget, RTC_TimeTypeDef * stimestructureget); |
115 void set_RTC_DateTime(RTC_DateTypeDef * sdatestructure, RTC_TimeTypeDef * stimestructure); | 116 void set_RTC_DateTime(RTC_DateTypeDef * sdatestructure, RTC_TimeTypeDef * stimestructure); |
116 uint8_t get_globalMode(void); | 117 uint8_t get_globalMode(void); |