X-Git-Url: http://git.droids-corp.org/?p=aversive.git;a=blobdiff_plain;f=projects%2Fmicrob2010%2Fmechboard%2Fscheduler_config.h;fp=projects%2Fmicrob2010%2Fmechboard%2Fscheduler_config.h;h=0000000000000000000000000000000000000000;hp=98690be3a78cede97a7be1b450591a7d78e6eb37;hb=8d6a47e9e21a9a31f4bc12d32fb3d11091a4b305;hpb=821f753c0f88aff895d9feae59c442a6c446f96b diff --git a/projects/microb2010/mechboard/scheduler_config.h b/projects/microb2010/mechboard/scheduler_config.h deleted file mode 100755 index 98690be..0000000 --- a/projects/microb2010/mechboard/scheduler_config.h +++ /dev/null @@ -1,47 +0,0 @@ -/* - * Copyright Droids Corporation, Microb Technology, Eirbot (2005) - * - * 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 - * - * Revision : $Id: scheduler_config.h,v 1.2 2009-04-07 20:03:48 zer0 Exp $ - * - */ - -#ifndef _SCHEDULER_CONFIG_H_ -#define _SCHEDULER_CONFIG_H_ - -#define _SCHEDULER_CONFIG_VERSION_ 4 - -/** maximum number of allocated events */ -#define SCHEDULER_NB_MAX_EVENT 9 - - -#define SCHEDULER_UNIT_FLOAT 512.0 -#define SCHEDULER_UNIT 512L - -/** number of allowed imbricated scheduler interrupts. The maximum - * should be SCHEDULER_NB_MAX_EVENT since we never need to imbricate - * more than once per event. If it is less, it can avoid to browse the - * event table, events are delayed (we loose precision) but it takes - * less CPU */ -#define SCHEDULER_NB_STACKING_MAX SCHEDULER_NB_MAX_EVENT - -/** define it for debug infos (not recommended, because very slow on - * an AVR, it uses printf in an interrupt). It can be useful if - * prescaler is very high, making the timer interrupt period very - * long in comparison to printf() */ -/* #define SCHEDULER_DEBUG */ - -#endif // _SCHEDULER_CONFIG_H_