Merge remote-tracking branch 'refs/remotes/origin/radar' into radar
authorChristian Lamparter <chunkeey@googlemail.com>
Sun, 5 Jun 2016 22:06:21 +0000 (00:06 +0200)
committerChristian Lamparter <chunkeey@googlemail.com>
Sun, 5 Jun 2016 22:06:21 +0000 (00:06 +0200)
carlfw/src/pattern_generator.c

index 58119debe2741efb722dd3edcdcad408b14cbba4..7cadb1221c3c26d6232a29916c53bae7c28fe4aa 100644 (file)
@@ -46,7 +46,8 @@ void pattern_generator(void)
                                set(0x1C3BC0, ppi->pulse_pattern);
                                set(0x1C3BBC, ppi->pulse_mode);
                                udelay(ppi->pulse_width);
-                               set(0x1C3BBC, ~ppi->pulse_mode);
+                               set(0x1C3BBC, 0);
+                               set(0x1C3BC0, 0);
                                fw.wlan.pattern_index++;
                        }
                }