aboutsummaryrefslogtreecommitdiff
path: root/firmwares/wifishield/wifiHD/src/wifi_spi.h
diff options
context:
space:
mode:
authorCristian Maglie <c.maglie@bug.st>2013-03-20 11:35:55 +0100
committerCristian Maglie <c.maglie@bug.st>2013-03-20 11:35:55 +0100
commitc2de020c3d19abe01a8e903926eede69106fa9d5 (patch)
tree26b2d5748bf095bbb2da0f6acbacf163b728ae61 /firmwares/wifishield/wifiHD/src/wifi_spi.h
parent84d842a16f05dc2de368d5205bd63fab2d5987e9 (diff)
parentf0ba738a71ec8dafe4705ddd02c07a2eb880655c (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.h2
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,