Make zap notify more lightning like, verify SSL certificates, remove price fetch code
This commit is contained in:
parent
5425ea7fbf
commit
1f2110fc5a
21 changed files with 494 additions and 190 deletions
|
@ -7,6 +7,7 @@
|
|||
#include <freertos/task.h>
|
||||
#include <GxEPD2.h>
|
||||
#include <GxEPD2_BW.h>
|
||||
#include <mbedtls/md.h>
|
||||
|
||||
#include <mutex>
|
||||
#include <utils.hpp>
|
||||
|
@ -65,7 +66,16 @@ const PROGMEM int screens[SCREEN_COUNT] = {
|
|||
const int usPerSecond = 1000000;
|
||||
const int usPerMinute = 60 * usPerSecond;
|
||||
|
||||
extern const char *github_root_ca;
|
||||
|
||||
const PROGMEM char UPDATE_FIRMWARE = 0;
|
||||
const PROGMEM char UPDATE_WEBUI = 1;
|
||||
|
||||
|
||||
struct ScreenMapping {
|
||||
int value;
|
||||
const char* name;
|
||||
};
|
||||
};
|
||||
|
||||
String calculateSHA256(uint8_t* data, size_t len);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue