From: Leandro Lucarella Date: Thu, 8 Dec 2005 20:26:05 +0000 (+0000) Subject: Elimino macro que no se usa y es peligrosa. X-Git-Tag: 0.1-recibe-matriz-raw-por-udp~17 X-Git-Url: https://git.llucax.com/z.facultad/66.09/etherled.git/commitdiff_plain/ed08c9be17a0893215918932492380f758c60afa Elimino macro que no se usa y es peligrosa. --- 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))