summaryrefslogtreecommitdiff
path: root/shared-module/struct
diff options
context:
space:
mode:
authorSean Cross <sean@xobs.io>2020-05-22 19:36:05 +0800
committerSean Cross <sean@xobs.io>2020-05-27 11:28:49 +0800
commitdaf7c2857da3f0cc61f20474bdd1ce2824cb409c (patch)
tree1ce7508d1d6b7c1427045dfc89044dc0cff06db8 /shared-module/struct
parent5edc29c6a592fc70f6d273dc89c3dd1be8afcb13 (diff)
nrf: port: save rtc value across reboots
As part of the reset process, save the current tick count to an uninitialized memory location. That way, the current tick value will be preserved across reboots. A reboot will cause us to lose a certain number of ticks, depending on how long a reboot takes, however if reboots are infrequent then this will not be a large amount of time lost. Signed-off-by: Sean Cross <sean@xobs.io>
Diffstat (limited to 'shared-module/struct')
0 files changed, 0 insertions, 0 deletions