--- embedtools/inc/pceng.h 2011/07/23 23:41:00 1.1.2.5 +++ embedtools/inc/pceng.h 2014/02/05 15:44:05 1.3 @@ -3,7 +3,7 @@ * by Michael Pounov * * $Author: misho $ - * $Id: pceng.h,v 1.1.2.5 2011/07/23 23:41:00 misho Exp $ + * $Id: pceng.h,v 1.3 2014/02/05 15:44:05 misho Exp $ * ************************************************************************** The ELWIX and AITNET software is distributed under the following @@ -12,7 +12,7 @@ terms: All of the documentation and software included in the ELWIX and AITNET Releases is copyrighted by ELWIX - Sofia/Bulgaria -Copyright 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011 +Copyright 2004 - 2014 by Michael Pounov . All rights reserved. Redistribution and use in source and binary forms, with or without @@ -49,15 +49,17 @@ SUCH DAMAGE. #define DEFAULT_PCENG_CFG "/etc/pceng.conf" #define DEFAULT_BOARD "alix" +#define DEFAULT_SLICE "100" +#define MAX_GPIO_PINS 4 -int LED(u_char ledno, u_char state); +int LED(u_char, u_char); int Run(); typedef enum { unknown, wrap, alix } board_t; -extern sl_config cfg; +extern cfg_root_t cfg; extern int Kill;