summaryrefslogtreecommitdiff
path: root/avr/main.c
diff options
context:
space:
mode:
authorLeo C2018-10-01 15:20:11 +0200
committerLeo C2018-10-01 15:20:11 +0200
commitdd1cc6f0b4a9cc2b49afb86c768813c087e46b4b (patch)
tree383ea14d163bcc9b881ced76a9292b9715fc360e /avr/main.c
parenteb49471efdeb6b317afeffa9bc05b25cb7d7a72c (diff)
downloadz180-stamp-dd1cc6f0b4a9cc2b49afb86c768813c087e46b4b.zip
bit operation optimizing
Diffstat (limited to 'avr/main.c')
-rw-r--r--avr/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/avr/main.c b/avr/main.c
index 486e15c..486d992 100644
--- a/avr/main.c
+++ b/avr/main.c
@@ -84,7 +84,8 @@ void print_reset_reason(void)
ISR(INT5_vect)
{
- Stat |= S_MSG_PENDING + S_IO_0X40;
+ Stat |= S_MSG_PENDING;
+ Stat |= S_IO_0X40;
}
ISR(INT6_vect)