summaryrefslogtreecommitdiffstats
path: root/pressure_control/firmware/main.c
diff options
context:
space:
mode:
authorMichael Buesch <mb@bu3sch.de>2008-10-09 20:57:51 +0200
committerMichael Buesch <mb@bu3sch.de>2008-10-09 20:57:51 +0200
commit92af9d1735aab816bca994f513314cdcc8b9bd66 (patch)
tree70e346613cb271e78b79167d3993885c0ca5bbef /pressure_control/firmware/main.c
parent5522cb6f66bea3b27134f6a4517e8472b7226bda (diff)
downloadcnc-92af9d1735aab816bca994f513314cdcc8b9bd66.tar.xz
cnc-92af9d1735aab816bca994f513314cdcc8b9bd66.zip
Add pressure_control firmware skeleton.
Signed-off-by: Michael Buesch <mb@bu3sch.de>
Diffstat (limited to 'pressure_control/firmware/main.c')
-rw-r--r--pressure_control/firmware/main.c32
1 files changed, 32 insertions, 0 deletions
diff --git a/pressure_control/firmware/main.c b/pressure_control/firmware/main.c
new file mode 100644
index 0000000..949e5cb
--- /dev/null
+++ b/pressure_control/firmware/main.c
@@ -0,0 +1,32 @@
+/*
+ * Pneumatic pressure controller.
+ *
+ * Copyright (C) 2008 Michael Buesch <mb@bu3sch.de>
+ *
+ * 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 3 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, see <http://www.gnu.org/licenses/>.
+ */
+
+#include "util.h"
+
+
+int main(void)
+{
+ cli();
+ //TODO
+ sei();
+
+ while (1) {
+ //TODO
+ }
+}
bues.ch cgit interface