move MAX_PACKET_SIZE to maca.h

This commit is contained in:
Mariano Alvira 2010-03-19 22:32:55 -04:00
parent 67db72908a
commit b39287cc2d
2 changed files with 2 additions and 2 deletions

View File

@ -5,6 +5,8 @@
#include <types.h>
#include <utils.h>
#define MAX_PACKET_SIZE (MAX_PAYLOAD_SIZE + 2) /* packet includes 2 bytes of checksum */
#define MACA_BASE (0x80004000)
#define MACA_RESET ((volatile uint32_t *) (MACA_BASE+0x04))
#define MACA_RANDOM ((volatile uint32_t *) (MACA_BASE+0x08))

View File

@ -24,8 +24,6 @@
#define RECV_SOFTIMEOUT (32*128*CLK_PER_BYTE)
#endif
#define MAX_PACKET_SIZE (MAX_PAYLOAD_SIZE + 2) /* packet includes 2 bytes of checksum */
#define reg(x) (*(volatile uint32_t *)(x))
static volatile packet_t packet_pool[NUM_PACKETS];