]> cloudbase.mooo.com Git - z180-stamp.git/commitdiff
bit operation optimizing
authorLeo C <erbl259-lmu@yahoo.de>
Mon, 1 Oct 2018 13:20:11 +0000 (15:20 +0200)
committerLeo C <erbl259-lmu@yahoo.de>
Mon, 1 Oct 2018 13:20:11 +0000 (15:20 +0200)
avr/main.c

index 486e15c3905f073e4290c01d5f45359976130e8c..486d992ca345f839680d1a63ce07ff6798402cfb 100644 (file)
@@ -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)