--- a/receiver/main.h Fri Nov 18 08:42:24 2011 +0100 +++ b/receiver/main.h Fri Nov 18 12:03:07 2011 +0100 @@ -1,29 +1,1 @@ -#ifndef MAIN_H -#define MAIN_H - -#include <avr/wdt.h> - -#define uchar unsigned char -#define uint unsigned int - -// Macro used to write to a single I/O pin -#define writeBit(port,bit,value) { if ((value)>0) (port) |= (1<<bit); else (port) &= ~(1<<bit); } - -// Macro used to read from a single I/O pin -#define readBit(port,bit) (((port) >> (bit)) & 1) - -// we have internal AREF... -// #define EXT_AREF 1 - -// RESET ROUTINE FOR DOING A SOFT-RESET: -#define soft_reset() \ -do \ -{ \ - wdt_enable(WDTO_15MS); \ - for(;;) \ - { \ - } \ -} while(0) - - -#endif +../blackbox/main.h \ No newline at end of file