From f9842d1d9033cc35f63cc512b26bbb7fe3c20c35 Mon Sep 17 00:00:00 2001 From: Markus Hitter Date: Sat, 19 Mar 2011 22:13:53 +0100 Subject: [PATCH] extruder/config.h.dist: add fallbacks for non-Makefile compilation. --- extruder/config.h.dist | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/extruder/config.h.dist b/extruder/config.h.dist index d1851e1..b6e16eb 100644 --- a/extruder/config.h.dist +++ b/extruder/config.h.dist @@ -1,6 +1,19 @@ #ifndef _CONFIG_H #define _CONFIG_H +/* + CPU clock rate +*/ +#ifndef F_CPU + #define F_CPU 16000000L +#endif + +/* + other fallbacks for the Arduino IDE +*/ +#define EXTRUDER +#define GEN3 + #include "arduino.h" // controller index- bus is multidrop after all