Compare commits

..

No commits in common. "cea2bf8f6415887a430f1dd6fe3b6e647fa4f3dc" and "944c11477b6fb1762527090d480621ca774e042c" have entirely different histories.

3 changed files with 3 additions and 5 deletions

View File

@ -34,7 +34,7 @@ namespace DictionaryHelper
strcpy(_string, Object._string); strcpy(_string, Object._string);
} }
~StringEntity(){free(_string);} ~StringEntity(){free(_string);}
const char *getString() const {return _string;} const char *getString(){return _string;}
void setString(const char *string = NULL) void setString(const char *string = NULL)
{ {
free(_string);_string = NULL; free(_string);_string = NULL;

View File

@ -1,6 +1,5 @@
#ifndef QUEUE_H #ifndef QUEUE_H
#define QUEUE_H #define QUEUE_H
#include <Arduino.h>
template <typename T> template <typename T>
class Queue class Queue

View File

@ -588,10 +588,9 @@ class WEBServer : public TCPServer<T>, public HttpConstants
return false; return false;
break; break;
} }
} }else
else
{ {
sendInfoResponse(HTTP_CODE::HTTP_CODE_INTERNAL_SERVER_ERROR, client, "Api endpoint does not exist"); sendInfoResponse(HTTP_CODE::HTTP_CODE_INTERNAL_SERVER_ERROR, client, "Unable to access the SDCard");
return false; return false;
} }