From d116cb9b3ac858313d57b76d82a4a87e2ddb485d Mon Sep 17 00:00:00 2001 From: Dimitri Sokolyuk Date: Tue, 24 Feb 2015 14:49:51 +0000 Subject: Remove dead code --- kernel/remix16.c | 46 ---------------------------------------------- kernel/remix16/Makefile | 15 --------------- 2 files changed, 61 deletions(-) delete mode 100644 kernel/remix16.c delete mode 100644 kernel/remix16/Makefile 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 - * - * 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 -#include -#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 -- cgit v1.2.3