Your ROOT_URL in app.ini is unix://git.lalonde.me:3000/ but you are visiting https://git.lalonde.me/matth/cral/commit/0cc5fc91071d2c87eb6059d3c974d462e8530d40
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
11 additions and
3 deletions
@ -107,9 +107,10 @@ class Wiz810MjDevice {
private:
void _init(void);
byte * _packBuffer(byte b0, byte b1, byte b2, byte b3);
int _resetPin;
byte _scratchBuffer[6]; // Can we make this static?
};
@ -158,7 +159,7 @@ void Wiz810MjDevice::_init(void) {
sysinit(0x55, 0x55);
}
void Wiz810MjDevice::setIp (byte b0, byte b1, byte b2, byte b3) {
byte * Wiz810MjDevice::_packBuffer (byte b0, byte b1, byte b2, byte b3) {
/*
*/
@ -166,8 +167,15 @@ void Wiz810MjDevice::setIp(byte b0, byte b1, byte b2, byte b3) {
_scratchBuffer[1] = b1;
_scratchBuffer[2] = b2;
_scratchBuffer[3] = b3;
return _scratchBuffer;
}
void Wiz810MjDevice::setIp(byte b0, byte b1, byte b2, byte b3) {
/*
setSIPR(_scratchBuffer);
*/
setSIPR(_packBuffer(b0, b1, b2, b3));
}
/* ----------------------- */