mirror of
https://github.com/halleysfifthinc/AVCLAN-Mockingboard.git
synced 2026-08-07 01:13:18 +00:00
File cleaning
This commit is contained in:
-22
@@ -12,9 +12,6 @@
|
||||
|
||||
#include <avr/io.h>
|
||||
|
||||
/*--------------------------------------------------------------------------------------------------
|
||||
Constants
|
||||
--------------------------------------------------------------------------------------------------*/
|
||||
#define FALSE 0
|
||||
#define TRUE (!FALSE)
|
||||
|
||||
@@ -31,22 +28,12 @@
|
||||
#define sbi(port, bit) (port) |= (1 << (bit)) // Set bit (i.e. to 1)
|
||||
#define cbi(port, bit) (port) &= ~(1 << (bit)) // Clear bit (i.e. set bit to 0)
|
||||
|
||||
/*--------------------------------------------------------------------------------------------------
|
||||
Type definitions
|
||||
--------------------------------------------------------------------------------------------------*/
|
||||
typedef unsigned char byte;
|
||||
typedef unsigned int word;
|
||||
|
||||
/*--------------------------------------------------------------------------------------------------
|
||||
Prototypes
|
||||
--------------------------------------------------------------------------------------------------*/
|
||||
inline void LedOff( void );
|
||||
inline void LedOn( void );
|
||||
|
||||
/*--------------------------------------------------------------------------------------------------
|
||||
From Marcin's "const.h"
|
||||
--------------------------------------------------------------------------------------------------*/
|
||||
|
||||
// max 10 events in fifo
|
||||
extern byte EventCount;
|
||||
extern byte EventCmd[10];
|
||||
@@ -56,8 +43,6 @@ extern byte Event;
|
||||
#define EV_DISPLAY 1
|
||||
#define EV_STATUS 4
|
||||
|
||||
//------------------------------------------------------------------------------
|
||||
|
||||
// const
|
||||
#define smYear 1
|
||||
#define smMonth 2
|
||||
@@ -66,17 +51,10 @@ extern byte Event;
|
||||
#define smMin 5
|
||||
#define smWDay 6
|
||||
|
||||
|
||||
|
||||
//#define STOPEvent cbi(TIMSK, TOIE1); cbi(UCSRB, RXCIE);
|
||||
//#define STARTEvent sbi(TIMSK, TOIE1); sbi(UCSRB, RXCIE);
|
||||
|
||||
|
||||
extern byte showLog;
|
||||
extern byte showLog2;
|
||||
|
||||
#endif // _GLOBALDEF_H_
|
||||
|
||||
/*--------------------------------------------------------------------------------------------------
|
||||
End of file.
|
||||
--------------------------------------------------------------------------------------------------*/
|
||||
|
||||
Reference in New Issue
Block a user