From ed08c9be17a0893215918932492380f758c60afa Mon Sep 17 00:00:00 2001 From: Leandro Lucarella Date: Thu, 8 Dec 2005 20:26:05 +0000 Subject: [PATCH] Elimino macro que no se usa y es peligrosa. --- src/types.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/types.h b/src/types.h index 23910b1..c3fac6a 100644 --- a/src/types.h +++ b/src/types.h @@ -39,10 +39,6 @@ enum { false = 0, true = 1 }; /** convierte 2 bytes (high, low) en un word */ #define WORD(high, low) ((uint16)((uint16)((high) << 8) + (uint16)(low))) -/** convierte un word en 2 bytes */ -#define UNPACK(word, high, low) (high = (byte)((word) >> 8), \ - low = (byte)(word) & 0xFF) - /** obtiene parte alta de un word */ #define HIGH(word) ((byte)((word) >> 8)) -- 2.43.0