From fbc34c6cf2195ded81d1f3736c6bc710823c320c Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Sun, 11 Dec 2005 22:05:00 +0000 Subject: [PATCH] =?utf8?q?Elimino=20vieja=20versi=C3=B3n=20porque=20ser?= =?utf8?q?=C3=A1=20reemplazada=20por=20el=20m=C3=B3dulo=20escrito=20en=20a?= =?utf8?q?ssembly.?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- src/leds.h | 33 --------------------------------- 1 file changed, 33 deletions(-) delete mode 100644 src/leds.h diff --git a/src/leds.h b/src/leds.h deleted file mode 100644 index ea8c083..0000000 --- a/src/leds.h +++ /dev/null @@ -1,33 +0,0 @@ -// vim: set et sw=4 sts=4 : - -#ifndef _LEDS_H_ -#define _LEDS_H_ - -#include "types.h" - -#ifdef SDCC -static xdata at 0x0080 byte leds0; -static xdata at 0x00c0 byte leds1; -#else -static byte xdata leds0 _at_ 0x0080; -static byte xdata leds1 _at_ 0x00c0; -#endif - -#define leds(word) \ - do \ - { \ - uint16 w = word; \ - leds0 = ~LOW(w); \ - leds1 = ~HIGH(w); \ - } \ - while (0) - -#define ledsb(bh, bl) \ - do \ - { \ - leds0 = ~(bl); \ - leds1 = ~(bh); \ - } \ - while (0) - -#endif // _LEDS_H_ -- 2.43.0