Compare commits
4 Commits
944c11477b
...
cea2bf8f64
Author | SHA1 | Date | |
---|---|---|---|
cea2bf8f64 | |||
92c94c7c88 | |||
186c74a6ca | |||
c3812a8a26 |
@ -34,7 +34,7 @@ namespace DictionaryHelper
|
|||||||
strcpy(_string, Object._string);
|
strcpy(_string, Object._string);
|
||||||
}
|
}
|
||||||
~StringEntity(){free(_string);}
|
~StringEntity(){free(_string);}
|
||||||
const char *getString(){return _string;}
|
const char *getString() const {return _string;}
|
||||||
void setString(const char *string = NULL)
|
void setString(const char *string = NULL)
|
||||||
{
|
{
|
||||||
free(_string);_string = NULL;
|
free(_string);_string = NULL;
|
||||||
|
@ -1,5 +1,6 @@
|
|||||||
#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
|
||||||
|
@ -588,9 +588,10 @@ class WEBServer : public TCPServer<T>, public HttpConstants
|
|||||||
return false;
|
return false;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}else
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
sendInfoResponse(HTTP_CODE::HTTP_CODE_INTERNAL_SERVER_ERROR, client, "Unable to access the SDCard");
|
sendInfoResponse(HTTP_CODE::HTTP_CODE_INTERNAL_SERVER_ERROR, client, "Api endpoint does not exist");
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user