control servo 0 with axis 0
[protos/xbee-avr.git] / aversive / error.h
1 /*  
2  *  Copyright Droids Corporation, Microb Technology, Eirbot (2005)
3  * 
4  *  This program is free software; you can redistribute it and/or modify
5  *  it under the terms of the GNU General Public License as published by
6  *  the Free Software Foundation; either version 2 of the License, or
7  *  (at your option) any later version.
8  *
9  *  This program is distributed in the hope that it will be useful,
10  *  but WITHOUT ANY WARRANTY; without even the implied warranty of
11  *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  *  GNU General Public License for more details.
13  *
14  *  You should have received a copy of the GNU General Public License
15  *  along with this program; if not, write to the Free Software
16  *  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
17  *
18  *  Revision : $Id: error.h,v 1.1.2.2 2007-06-01 09:37:22 zer0 Exp $
19  *
20  */
21
22 #ifndef _AVERSIVE_ERROR_H_
23 #define _AVERSIVE_ERROR_H_
24
25 #include <autoconf.h>
26
27 #ifdef CONFIG_MODULE_ERROR
28 #include <error.h>
29 #else
30
31 #define EMERG(num, text...)  do {} while(0)
32
33 #define ERROR(num, text...)  do {} while(0)
34
35 #define WARNING(num, text...)  do {} while(0)
36
37 #define NOTICE(num, text...)  do {} while(0)
38
39 #define DEBUG(num, text...)  do {} while(0)
40
41 #endif
42 #endif