Added BitAxe support

This commit is contained in:
Djuri 2024-07-29 20:49:46 +02:00
parent ca1c7178f1
commit b13c7242a6
18 changed files with 837 additions and 46 deletions

View file

@ -17,6 +17,7 @@
#include "lib/led_handler.hpp"
#include "lib/ota.hpp"
#include "lib/nostr_notify.hpp"
#include "lib/bitaxe_fetch.hpp"
#include "lib/price_notify.hpp"
#include "lib/screen_handler.hpp"
@ -53,7 +54,7 @@ extern PCA9685 flArray;
#endif
String getMyHostname();
std::vector<std::string> getScreenNameMap();
std::vector<ScreenMapping> getScreenNameMap();
std::vector<std::string> getLocalUrl();
bool improv_connectWifi(std::string ssid, std::string password);
@ -67,4 +68,7 @@ void improv_set_error(improv::Error error);
void WiFiEvent(WiFiEvent_t event, WiFiEventInfo_t info);
String getHwRev();
bool isWhiteVersion();
String getFsRev();
String getFsRev();
void addScreenMapping(int value, const char* name);
int findScreenIndexByValue(int value);