summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVegard Storheil Eriksen <zyp@jvnv.net>2017-05-13 09:13:35 +0200
committerVegard Storheil Eriksen <zyp@jvnv.net>2017-05-13 09:13:35 +0200
commit8d37e2dfe2fe33c3679d62e9ccd0deda71ecd171 (patch)
tree5e33b78fe74872c142a43e1381533e62d471dcaa
parent1cb55ca06ecbc3666d3bf66a583a768f69bf9278 (diff)
Fix QE2 pins AF.conf
-rw-r--r--arcin/main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/arcin/main.cpp b/arcin/main.cpp
index cfb6598..91f7691 100644
--- a/arcin/main.cpp
+++ b/arcin/main.cpp
@@ -395,8 +395,8 @@ int main() {
axis_qe2.enable(config.flags & (1 << 2), config.qe2_sens);
- qe2a.set_af(1);
- qe2b.set_af(1);
+ qe2a.set_af(2);
+ qe2b.set_af(2);
qe2a.set_mode(Pin::AF);
qe2b.set_mode(Pin::AF);