Revert PR #387 - fixes LE state restoration

This commit caused state restored from backup registers
to be overwritten. It is thereby reverted until a better
solution is found or movement is refactored.

This reverts commit 524098b925.

Reviewed-by: Matheus Afonso Martins Moreira <matheus@matheusmoreira.com>
References: https://github.com/joeycastillo/Sensor-Watch/pull/474
This commit is contained in:
Matheus Afonso Martins Moreira
2024-09-10 12:10:48 -03:00
parent 673f90b724
commit be969c4deb
3 changed files with 7 additions and 59 deletions

View File

@@ -245,8 +245,6 @@ typedef struct {
typedef struct {
// properties stored in BACKUP register
movement_settings_t settings;
movement_location_t location;
movement_birthdate_t birthdate;
// transient properties
int16_t current_face_idx;