-
-
Notifications
You must be signed in to change notification settings - Fork 39.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
massdrop alt/ctrl: support saving into nvm (#6068)
* support saving into SmartEEPROM Signed-off-by: Alexandre d Alton <[email protected]> * atsam: update smarteeprom implementation - Use define for SmartEEPROM buffer address - Check buffer overflow - Do not perform operation when timeout occurs Signed-off-by: Alexandre d'Alton <[email protected]> * return 0 instead of ff for invalid address or timeout Signed-off-by: Alexandre d'Alton <[email protected]> * clang-format * Add extra bounds checks Co-authored-by: zvecr <[email protected]>
- Loading branch information
Showing
1 changed file
with
90 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters