Your ROOT_URL in app.ini is unix://git.lalonde.me:3000/ but you are visiting https://git.lalonde.me/matth/cral/commit/a099cfd0af5921ba0e5b5bc110f279b376cba35c?style=split&whitespace=ignore-all
You should set ROOT_URL correctly, otherwise the web may not work correctly.
1 changed files with
1 additions and
5 deletions
@ -233,11 +233,8 @@ void loop() {
Serial.println(ip[3], DEC);
Serial.println(ip[3], DEC);
// TODO: Avoid buffer overflows in both cases...
// TODO: Avoid buffer overflows...
#define MAX_RX_BUFFER_SIZE 5
#define MAX_TX_BUFFER_SIZE 200
#define MAX_TX_BUFFER_SIZE 200
uint8_t bytesReceived[MAX_RX_BUFFER_SIZE]; // NOTE: Actual buffer should be larger.
uint8_t bytesToSend[MAX_TX_BUFFER_SIZE];
uint8_t bytesToSend[MAX_TX_BUFFER_SIZE];
//sendBanner(bytesReceived);
//sendBanner(bytesReceived);
@ -264,7 +261,6 @@ void loop() {
while (getSn_SR(testSocket) == SOCK_ESTABLISHED) {
while (getSn_SR(testSocket) == SOCK_ESTABLISHED) {
while (getSn_RX_RSR(testSocket) > 0) {
while (getSn_RX_RSR(testSocket) > 0) {
theByte = readByte();
theByte = readByte();
//Serial.print(bytesReceived[0], BYTE);
Serial.print(theByte, BYTE);
Serial.print(theByte, BYTE);
if ((state == STATE_G) && (theByte == 'G')) {
if ((state == STATE_G) && (theByte == 'G')) {
state = STATE_E;
state = STATE_E;