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:
parent
474336a587
commit
99881d6250
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user