aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ds1307/arduino_sketch/fuzzy_alarm_clock_ds1307.pde2
1 files changed, 1 insertions, 1 deletions
diff --git a/ds1307/arduino_sketch/fuzzy_alarm_clock_ds1307.pde b/ds1307/arduino_sketch/fuzzy_alarm_clock_ds1307.pde
index f9d8ef4..8c24791 100644
--- a/ds1307/arduino_sketch/fuzzy_alarm_clock_ds1307.pde
+++ b/ds1307/arduino_sketch/fuzzy_alarm_clock_ds1307.pde
@@ -179,7 +179,7 @@ int s_read_hex() {
return rec - 48;
} else if ( rec >= 65 && rec < 71 ) {
return rec - 55;
- } else if ( rec > 97 && rec < 102 ) {
+ } else if ( rec >= 97 && rec < 102 ) {
return rec - 87;
} else {
return 0;