Redefine the packet size explicitly.

The packet size for the nemo and puck backends happens to be identical.
But the value for the nemo backend is truly fixed, while the value for
the puck backend can be adjusted. To avoid breaking the nemo backend
when changing the default value, we redefine the packet size explicitly
to the correct value.
This commit is contained in:
Jef Driesen 2011-11-11 10:32:27 +01:00
parent 474336a587
commit 99881d6250

View File

@ -35,6 +35,10 @@
rc == -1 ? DEVICE_STATUS_IO : DEVICE_STATUS_TIMEOUT \
)
#ifdef PACKETSIZE
#undef PACKETSIZE /* Override the common value. */
#endif
#define MEMORYSIZE 0x4000
#define PACKETSIZE 0x20