aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ui/anduril/version-check-mode.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/ui/anduril/version-check-mode.c b/ui/anduril/version-check-mode.c
index eebe59b..1cd6968 100644
--- a/ui/anduril/version-check-mode.c
+++ b/ui/anduril/version-check-mode.c
@@ -15,7 +15,10 @@ uint8_t version_check_state(Event event, uint16_t arg) {
inline void version_check_iter() {
for (uint8_t i=0; i<sizeof(version_number)-1; i++) {
uint8_t digit = pgm_read_byte(version_number + i) - '0';
- if (digit < 10) blink_digit(digit);
+ // digits: 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
+ // hex digits: 0 1 2 3 4 5 6 7 8 9 a b c d e f
+ // 'model' file: 0 1 2 3 4 5 6 7 8 9 : ; < = > ?
+ if (digit < 16) blink_digit(digit);
else { // "buzz" for non-numeric characters
for(uint8_t frame=0; frame<25; frame++) {
set_level((frame&1) << 5);
If you find this content useful please consider a small donation via bitcoin: bitcoin:1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2?amount=0.001&message=Donation Scraping git contents via cgit is very resource intensive. The continued hosting of these git repositories is entirely financed by your bitcoin contributions. For donations of a least 1 mBTC you include your IP address in the message of your bitcoin donation. This will remove this message in the future for requests from your IP, which will significantly reduce token usage. In any case, any contributions to bitcoin address 1mxKyQsHHugqRxPKgwaA7wUwJEGCNthn2 are very welcome. Thanks in advance for you contribution to a self-sustaining ecosystem.