no software without a bug :) default tip

Fri, 12 May 2017 15:46:46 +0200

author
Malte Di Donato <mdd@neo-soft.org>
date
Fri, 12 May 2017 15:46:46 +0200
changeset 2
114e1283d03a
parent 1
d224ff5c155b

no software without a bug :)

firmware/main.c file | annotate | diff | comparison | revisions
--- a/firmware/main.c	Fri May 12 15:43:43 2017 +0200
+++ b/firmware/main.c	Fri May 12 15:46:46 2017 +0200
@@ -88,7 +88,7 @@
         default:
             // switch off pwm and driver
             OCR1A = 0;
-            PORTB &= _BV(0);
+            PORTB &= ~_BV(0);
     }
 }
 

mercurial