diff options
| author | Selene ToyKeeper | 2020-08-31 14:43:47 -0600 |
|---|---|---|
| committer | Selene ToyKeeper | 2020-08-31 14:43:47 -0600 |
| commit | e94626081ac2501b728b50e94f3d45277765bb9c (patch) | |
| tree | f0c9d78d1364ac2e22b899a160cbb97324ab4faa /spaghetti-monster | |
| parent | removed blink_confirm() because it's not used any more (diff) | |
| download | anduril-e94626081ac2501b728b50e94f3d45277765bb9c.tar.gz anduril-e94626081ac2501b728b50e94f3d45277765bb9c.tar.bz2 anduril-e94626081ac2501b728b50e94f3d45277765bb9c.zip | |
reduced size 18 bytes by removing unnecessary duplications of blink_once()
Diffstat (limited to 'spaghetti-monster')
| -rw-r--r-- | spaghetti-monster/anduril/anduril.c | 4 | ||||
| -rw-r--r-- | spaghetti-monster/anduril/config-mode.c | 2 |
2 files changed, 1 insertions, 5 deletions
diff --git a/spaghetti-monster/anduril/anduril.c b/spaghetti-monster/anduril/anduril.c index fdc5b54..05d0e04 100644 --- a/spaghetti-monster/anduril/anduril.c +++ b/spaghetti-monster/anduril/anduril.c @@ -209,9 +209,7 @@ void setup() { // regular e-switch light, no hard clicky power button // blink at power-on to let user know power is connected - set_level(RAMP_SIZE/8); - delay_4ms(3); - set_level(0); + blink_once(); #ifdef USE_FACTORY_RESET if (button_is_pressed()) diff --git a/spaghetti-monster/anduril/config-mode.c b/spaghetti-monster/anduril/config-mode.c index a62cec0..ea4ce6b 100644 --- a/spaghetti-monster/anduril/config-mode.c +++ b/spaghetti-monster/anduril/config-mode.c @@ -140,8 +140,6 @@ uint8_t number_entry_state(Event event, uint16_t arg) { wait_ticks = 0; // flash briefly set_level(RAMP_SIZE/2); - delay_4ms(8/2); - set_level(0); } return MISCHIEF_MANAGED; } |
