- Timestamp:
- 12/08/07 02:59:40 (13 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/follower/wiz810mj/src/demo/WizDemo4/WizDemo4.pde
r91 r92 108 108 private: 109 109 void _init(void); 110 byte * _packBuffer(byte b0, byte b1, byte b2, byte b3); 110 111 111 112 int _resetPin; 112 113 113 114 byte _scratchBuffer[6]; // Can we make this static? 114 115 }; … … 159 160 } 160 161 161 void Wiz810MjDevice::setIp(byte b0, byte b1, byte b2, byte b3) {162 byte * Wiz810MjDevice::_packBuffer(byte b0, byte b1, byte b2, byte b3) { 162 163 /* 163 164 … … 167 168 _scratchBuffer[2] = b2; 168 169 _scratchBuffer[3] = b3; 169 170 setSIPR(_scratchBuffer); 170 171 return _scratchBuffer; 172 } 173 174 void Wiz810MjDevice::setIp(byte b0, byte b1, byte b2, byte b3) { 175 /* 176 177 */ 178 setSIPR(_packBuffer(b0, b1, b2, b3)); 171 179 } 172 180