diff options
author | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2019-12-09 19:53:04 -0800 |
---|---|---|
committer | David Vazgenovich Shakaryan <dvshakaryan@gmail.com> | 2019-12-09 19:53:04 -0800 |
commit | c5047bb9952655dc8d0fabf6a54b9e278b243d8b (patch) | |
tree | c3b3909eefcbf8399be9cfde5bd92d790f4f5cd5 | |
parent | d100c4e0afdab9a880648a1185106e6962f56f1a (diff) | |
download | christmas_lights-c5047bb9952655dc8d0fabf6a54b9e278b243d8b.tar.gz christmas_lights-c5047bb9952655dc8d0fabf6a54b9e278b243d8b.tar.xz |
reduce end delay for each bit
-rw-r--r-- | led.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -10,7 +10,6 @@ void signal_bit_0() { "rjmp .+0\n\t" "rjmp .+0\n\t" "rjmp .+0\n\t" - "nop\n\t" : : "I" (_SFR_IO_ADDR(PORTB)), "I" (PIN_LED) ); @@ -23,7 +22,7 @@ void signal_bit_1() { "nop\n\t" "cbi %0, %1\n\t" "rjmp .+0\n\t" - "rjmp .+0\n\t" + "nop\n\t" : : "I" (_SFR_IO_ADDR(PORTB)), "I" (PIN_LED) ); |