aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Sokolyuk <demon@dim13.org>2015-02-24 14:49:51 +0000
committerDimitri Sokolyuk <demon@dim13.org>2015-02-24 14:49:51 +0000
commitd116cb9b3ac858313d57b76d82a4a87e2ddb485d (patch)
treebf1c9106933c589943f97c4de26529482648077b
parentc080e7d8dd178254c72caecb46bbf0f60eed2a82 (diff)
Remove dead code
-rw-r--r--kernel/remix16.c46
-rw-r--r--kernel/remix16/Makefile15
2 files changed, 0 insertions, 61 deletions
diff --git a/kernel/remix16.c b/kernel/remix16.c
deleted file mode 100644
index 0bc5552..0000000
--- a/kernel/remix16.c
+++ /dev/null
@@ -1,46 +0,0 @@
-/* $Id$ */
-/*
- * Copyright (c) 2011 Dimitri Sokolyuk <demon@dim13.org>
- *
- * Permission to use, copy, modify, and distribute this software for any
- * purpose with or without fee is hereby granted, provided that the above
- * copyright notice and this permission notice appear in all copies.
- *
- * THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
- * WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
- * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
- * ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
- * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
- * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
- * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
- */
-
-#include <stdint.h>
-#include <avr/io.h>
-#include "kernel.h"
-#include "tasks.h"
-
-uint16_t adcval[ADCCHANNELS];
-
-struct adcarg adcarg = { adcval };
-struct lcdarg lcdarg = { 0, 0, adcval };
-struct ppmarg ppmarg = { adcval };
-
-int
-main()
-{
- init(STACK);
-
- init_uart();
-
- semaphore(0, 1);
-
- exec(heartbeat, STACK, MSEC(0), MSEC(750), 0);
- exec(adc, STACK, MSEC(1), MSEC(60), &adcarg);
- exec(ppm, STACK, MSEC(3), MSEC(20), &ppmarg);
- exec(lcd, STACK, MSEC(7), MSEC(100), &lcdarg);
-
- for (;;);
-
- return 0;
-}
diff --git a/kernel/remix16/Makefile b/kernel/remix16/Makefile
deleted file mode 100644
index 1bc3f2f..0000000
--- a/kernel/remix16/Makefile
+++ /dev/null
@@ -1,15 +0,0 @@
-# $Id$
-
-MCU= atmega8
-F_CPU= 16000000
-PRESCALE= 8
-STACK= 64
-TASKS= 8
-SEMAPHORES= 8
-BAUD= 9600
-
-PROG= remix16
-SRCS= remix16.c uart.c heartbeat.c lcd3.c adc.c ppm.c
-NOMAN=
-
-.include <bsd.prog.mk>