From 082bec58c7c0a5c4ca0b6a3704579e4ccb094f14 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20=C4=8Cern=C3=BD?= Date: Mon, 10 May 2021 20:42:11 +0200 Subject: [PATCH] small edits and version bump --- Firmware/FLORA_FIRMWARE/FLORA_FIRMWARE.ino | 4 ++-- Firmware/FLORA_FIRMWARE/config_portal.ino | 7 +++++-- Firmware/FLORA_FIRMWARE/neopixel_fns.ino | 7 ++----- 3 files changed, 9 insertions(+), 9 deletions(-) diff --git a/Firmware/FLORA_FIRMWARE/FLORA_FIRMWARE.ino b/Firmware/FLORA_FIRMWARE/FLORA_FIRMWARE.ino index f846fa6..78ddf3a 100644 --- a/Firmware/FLORA_FIRMWARE/FLORA_FIRMWARE.ino +++ b/Firmware/FLORA_FIRMWARE/FLORA_FIRMWARE.ino @@ -34,7 +34,7 @@ #define AP_NAME "FLORA_" #define FW_NAME "FLORA" -#define FW_VERSION "4.0" +#define FW_VERSION "4.1" #define CONFIG_TIMEOUT 300000 // 300000 = 5 minutes // ONLY CHANGE DEFINES BELOW IF YOU KNOW WHAT YOU'RE DOING! @@ -176,7 +176,7 @@ const uint8_t bri_vals[3] = { // These need to be multiples of 8 to enable cross const uint8_t bri_vals_separate[3][6] = { {8, 8, 8, 8, 8, 8}, // Low brightness {24, 24, 24, 24, 24, 24}, // Medium brightness - {32, 32, 32, 48, 48, 32}, // High brightness + {48, 48, 48, 48, 48, 48}, // High brightness }; diff --git a/Firmware/FLORA_FIRMWARE/config_portal.ino b/Firmware/FLORA_FIRMWARE/config_portal.ino index 1ae09e1..8e60c52 100644 --- a/Firmware/FLORA_FIRMWARE/config_portal.ino +++ b/Firmware/FLORA_FIRMWARE/config_portal.ino @@ -173,7 +173,7 @@ void handleNotFound() { html += "

"; } html += htmlFooter(); - + server.sendHeader("Cache-Control", "no-cache, no-store, must-revalidate"); server.sendHeader("Pragma", "no-cache"); server.sendHeader("Expires", "-1"); @@ -360,9 +360,12 @@ void handleRoot() { html += "