diff options
author | Alexandre d'Alton <alex@alexdalton.org> | 2021-09-29 22:56:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-30 06:56:13 +1000 |
commit | 90797d903c81944c80b4957e118adfb20145b9ba (patch) | |
tree | 66a375a6d9b927183d2efd160690d3f4ee33830b /keyboards/business_card/business_card.h | |
parent | b02a5396251c0fadb92f2632e242b555c238ad8b (diff) |
massdrop alt/ctrl: support saving into nvm (#6068)
* support saving into SmartEEPROM
Signed-off-by: Alexandre d Alton <alex@alexdalton.org>
* 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 <alex@alexdalton.org>
* return 0 instead of ff for invalid address or timeout
Signed-off-by: Alexandre d'Alton <alex@alexdalton.org>
* clang-format
* Add extra bounds checks
Co-authored-by: zvecr <git@zvecr.com>
Diffstat (limited to 'keyboards/business_card/business_card.h')
0 files changed, 0 insertions, 0 deletions