summaryrefslogtreecommitdiff
path: root/minion/src/wifi_module.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'minion/src/wifi_module.hpp')
-rw-r--r--minion/src/wifi_module.hpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/minion/src/wifi_module.hpp b/minion/src/wifi_module.hpp
index 963a1de..9bc2c20 100644
--- a/minion/src/wifi_module.hpp
+++ b/minion/src/wifi_module.hpp
@@ -4,6 +4,7 @@
#include "network_connection.hpp"
#include <SoftwareSerial.h>
+#include <avr/pgmspace.h>
#include <stddef.h>
#include <stdint.h>
@@ -25,7 +26,7 @@ constexpr auto TIMEOUT_SHORT = 1500U;
constexpr auto TIMEOUT_MEDIUM = 4000U;
constexpr auto TIMEOUT_LONG = 10000U;
-constexpr auto RESPONSE_HTTP_VERSION = "HTTP/1.1";
+const char RESPONSE_HTTP_VERSION[] PROGMEM = { "HTTP/1.1" };
constexpr auto RESPONSE_STATUS_CODE_LENGTH = 3U;
constexpr auto NUMBER_BASE = 10U;