mirror of
https://github.com/betaflight/betaflight.git
synced 2025-07-24 16:55:36 +03:00
Reset the entire config when parameter groups have changed.
This commit is contained in:
parent
1ab7b7816b
commit
464da66ee1
7 changed files with 35 additions and 19 deletions
|
@ -187,7 +187,7 @@ extern const uint8_t __pg_resetdata_end[];
|
|||
|
||||
const pgRegistry_t* pgFind(pgn_t pgn);
|
||||
|
||||
void pgLoad(const pgRegistry_t* reg, const void *from, int size, int version);
|
||||
bool pgLoad(const pgRegistry_t* reg, const void *from, int size, int version);
|
||||
int pgStore(const pgRegistry_t* reg, void *to, int size);
|
||||
void pgResetAll(void);
|
||||
void pgResetInstance(const pgRegistry_t *reg, uint8_t *base);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue