Revert PR #268 - add daylight savings time toggle

The DST code has not yet been fully tested, the upcoming movement
refactor is upon us and it will integrate with the micro timezone
library anyway. Revert it so that next can be merged into main.

This reverts commit 5a8a49a8c7, reversing
changes made to bfadb81e82.
This commit is contained in:
Matheus Afonso Martins Moreira
2024-09-17 17:09:02 -03:00
parent 30267dfc0c
commit fe9a0a693d
3 changed files with 4 additions and 125 deletions

View File

@@ -63,8 +63,7 @@ typedef union {
bool clock_24h_leading_zero : 1; // indicates whether clock should leading zero to indicate 24 hour mode.
bool use_imperial_units : 1; // indicates whether to use metric units (the default) or imperial.
bool alarm_enabled : 1; // indicates whether there is at least one alarm enabled.
bool dst_active : 1; // indicates whether daylight savings time is active
uint8_t reserved : 4; // room for more preferences if needed.
uint8_t reserved : 5; // room for more preferences if needed.
} bit;
uint32_t reg;
} movement_settings_t;
@@ -130,8 +129,6 @@ typedef struct {
} movement_event_t;
extern const int16_t movement_timezone_offsets[];
extern const uint8_t movement_dst_jump_table[];
extern const uint8_t movement_dst_inverse_jump_table[];
extern const char movement_valid_position_0_chars[];
extern const char movement_valid_position_1_chars[];