diff options
author | Cristian Maglie <c.maglie@bug.st> | 2013-03-20 11:35:55 +0100 |
---|---|---|
committer | Cristian Maglie <c.maglie@bug.st> | 2013-03-20 11:35:55 +0100 |
commit | c2de020c3d19abe01a8e903926eede69106fa9d5 (patch) | |
tree | 26b2d5748bf095bbb2da0f6acbacf163b728ae61 /firmwares/wifishield/wifiHD/src/wifi_spi.h | |
parent | 84d842a16f05dc2de368d5205bd63fab2d5987e9 (diff) | |
parent | f0ba738a71ec8dafe4705ddd02c07a2eb880655c (diff) |
Merge remote-tracking branch 'mlafauci/wifishield-bugfix' into HEAD
Diffstat (limited to 'firmwares/wifishield/wifiHD/src/wifi_spi.h')
-rw-r--r-- | firmwares/wifishield/wifiHD/src/wifi_spi.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/firmwares/wifishield/wifiHD/src/wifi_spi.h b/firmwares/wifishield/wifiHD/src/wifi_spi.h index 48da984..4094e03 100644 --- a/firmwares/wifishield/wifiHD/src/wifi_spi.h +++ b/firmwares/wifishield/wifiHD/src/wifi_spi.h @@ -24,6 +24,8 @@ #define START_CMD 0xE0 #define END_CMD 0xEE #define ERR_CMD 0xEF +#define CMD_POS 1 // Position of Command OpCode on SPI stream +#define PARAM_LEN_POS 2 // Position of Param len on SPI stream enum { SET_NET_CMD = 0x10, |