X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=serial_lcd.h;h=91d1137de59cc2fd036c62f7c64dce2fec00784e;hb=4e88dde09a30fd2105f3fc732cbe4f2edbc72244;hp=ad4bbc9bdda73f1172e8ea57dbc537e5051ed287;hpb=8147823cf64e37f6f43838ffa9e056ea48e30c32;p=avr_serial_lcd.git diff --git a/serial_lcd.h b/serial_lcd.h index ad4bbc9..91d1137 100644 --- a/serial_lcd.h +++ b/serial_lcd.h @@ -126,11 +126,9 @@ typedef __flash unsigned int prog_uint32_t; // CodeVision Compiler #elif defined(__CODEVISIONAVR__) -#if __CODEVISIONAVR__ >= 2 #include -#else -#include -#endif +#include +#include #if defined(_CHIP_ATTINY2313_) || defined(_CHIP_ATTINY2313V_) #if !defined(WDTCSR) @@ -163,14 +161,18 @@ typedef __flash unsigned int prog_uint32_t; #define SM0 4 #define SM1 6 #define SE 5 - #define sleep_enable() MCUCR |= (1<