From 18b21135b7edaddf96dc17037deb0b674aba33c1 Mon Sep 17 00:00:00 2001 From: Jeff Moe Date: Wed, 25 May 2022 13:28:58 -0600 Subject: [PATCH] write time to hardware clock --- scripts/pysalx-date-set | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/scripts/pysalx-date-set b/scripts/pysalx-date-set index d4b478c..55b934a 100755 --- a/scripts/pysalx-date-set +++ b/scripts/pysalx-date-set @@ -15,4 +15,8 @@ adb shell busybox date -s \"$NOW\" echo echo "Current time on analyzer" adb shell busybox date - +echo +echo "Write time to hardware clock" +adb shell hwclock -w -u +echo "Current hardware clock time" +adb shell hwclock -u