-// 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_