--- simulavr-1.0.0/examples/atmel_key/StdDefs.c.orig 2012-02-12 07:26:38.000000000 -0800 +++ simulavr-1.0.0/examples/atmel_key/StdDefs.c 2015-11-07 19:36:29.556629000 -0800 @@ -55,6 +55,7 @@ } // Delay in 1/10's of a millisecond +#ifdef notdef void msleep(INT16U ms) { /* This loop does not work with optimization != 0. Therefore we use avr-libc _delay routines K. Schwichtenberg @@ -63,7 +64,7 @@ for (j = 1; j < ONETENTH_MS; j++); / * to give 1/10 ms*/ _delay_ms(ms); // Changed K. Schwichtenberg } - +#endif //------------------------------------------------------------ // void putBCD(INT16S X, CHARU length, CHARU TrailingSpace) //