summaryrefslogtreecommitdiff
path: root/digital/avr/modules/motor/encoder/avrconfig.h
diff options
context:
space:
mode:
authorNicolas Schodet2011-03-30 01:09:44 +0200
committerNicolas Schodet2012-03-05 23:55:18 +0100
commitf30e14673a84863fd51ec36fcf771221335161ba (patch)
tree4a4d51c9df6f2be117371552e2030c4d3c19b92a /digital/avr/modules/motor/encoder/avrconfig.h
parentdcb79f383269440ec2c5a54b6d7792fbb0110d5a (diff)
digital/avr/modules/motor: add new encoder module
Diffstat (limited to 'digital/avr/modules/motor/encoder/avrconfig.h')
-rw-r--r--digital/avr/modules/motor/encoder/avrconfig.h32
1 files changed, 32 insertions, 0 deletions
diff --git a/digital/avr/modules/motor/encoder/avrconfig.h b/digital/avr/modules/motor/encoder/avrconfig.h
new file mode 100644
index 00000000..c107fa80
--- /dev/null
+++ b/digital/avr/modules/motor/encoder/avrconfig.h
@@ -0,0 +1,32 @@
+#ifndef avrconfig_h
+#define avrconfig_h
+/* avrconfig.h - motor/encoder configuration template. */
+/* motor - Motor control module. {{{
+ *
+ * Copyright (C) 2010 Nicolas Schodet
+ *
+ * APBTeam:
+ * Web: http://apbteam.org/
+ * Email: team AT apbteam DOT org
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+ *
+ * }}} */
+
+/* motor/encoder - Encoder module. */
+/** Use external encoder module. */
+#define AC_ENCODER_USE_EXT 1
+
+#endif /* avrconfig_h */