From 3a827660c11527f6d93008336994fb9431bc34f3 Mon Sep 17 00:00:00 2001 From: Michael Krelin Date: Sat, 19 Jul 2008 14:46:21 +0000 Subject: amended sleeptracker structure Thanks to Lee, the inventor of sleeptracker for disclosing missing piece of information. Signed-off-by: Michael Krelin --- diff --git a/lib/st-decode.cc b/lib/st-decode.cc index f8459ac..0fb41de 100644 --- a/lib/st-decode.cc +++ b/lib/st-decode.cc @@ -15,6 +15,7 @@ namespace napkin { struct st_date_t { uint8_t month; uint8_t day; + uint8_t dow; }; struct st_fulltime_t { uint8_t hour; @@ -24,7 +25,6 @@ namespace napkin { struct st_data_header_t { char magic; st_date_t today; - uint8_t unknown; uint8_t window; st_time_t to_bed; st_time_t alarm; -- cgit v0.9.0.2