]> defiant.homedns.org Git - ros_wild_thumper.git/commitdiff
Fix register for sensor fwd2 readout
authorErik Andresen <erik@vontaene.de>
Sat, 3 Jun 2017 11:05:58 +0000 (13:05 +0200)
committerErik Andresen <erik@vontaene.de>
Sat, 3 Jun 2017 11:05:58 +0000 (13:05 +0200)
avr/nano/main.c
avr/nano/main.hex

index 5ba30821e26227f6e936fede523b2d80b3dd4964..aba8aa1a2114c5b9c0d5ed433d233ceb4395e5ec 100644 (file)
@@ -68,7 +68,7 @@ ISR(TWI_vect)
 
                                        if (ireg == 0x05) start_dist_fwd1=1;
                                        if (ireg == 0x07) start_dist_bwd=1;
-                                       if (ireg == 0x09) start_dist_fwd2=1;
+                                       if (ireg == 0x0b) start_dist_fwd2=1;
 
                                        ireg--; // because we do ireg++ below
                                        TWI_ACK;
index 364e7b34467973260121bd2404b9573801df6ac9..be5260db9bb8a1540693329d6076fde79b1b3264 100644 (file)
@@ -21,7 +21,7 @@
 :10014000BB008093280158C08091BB008093290197\r
 :1001500080912901853019F481E080931D018091FF\r
 :100160002901873019F481E080931B0180912901D6\r
-:10017000893019F481E080931C018091290181501C\r
+:100170008B3019F481E080931C018091290181501A\r
 :100180008093290135C0E09129018E2F90E0FC0178\r
 :100190003197EA31F10570F5EC5CFF4F0C94EA06FB\r
 :1001A000809126019091270104C0809124019091B3\r