mirror of
https://github.com/OpenEPaperLink/OpenEPaperLink.git
synced 2026-03-21 10:06:07 +01:00
breaking change for ESP32-S2 based AP's
- turn off Buienradar and Google Calendar content on ESP32-S2 based AP's because the firmware doesn't fit the flash memory anymore. If you need this and you use e.g. the mini AP v2, don't update. ESP32-S3 based AP's are not affected. - On the update tab, the list of available versions now only shows the versions that are actually available for the build environment in use, so when we leave out S2-based builds in future releases, they won't show the new version.
This commit is contained in:
Binary file not shown.
Binary file not shown.
@@ -8,9 +8,9 @@
|
||||
#define CONTENT_NFCLUT
|
||||
#define CONTENT_DAYAHEAD
|
||||
#define CONTENT_TIMESTAMP
|
||||
#endif
|
||||
#define CONTENT_CAL
|
||||
#define CONTENT_BUIENRADAR
|
||||
#define CONTENT_CAL
|
||||
#endif
|
||||
#define CONTENT_TAGCFG
|
||||
|
||||
#include <Arduino.h>
|
||||
|
||||
@@ -26,7 +26,9 @@
|
||||
#include "udp.h"
|
||||
#include "util.h"
|
||||
#include "web.h"
|
||||
#ifdef HAS_BLE_WRITER
|
||||
#include "ble_writer.h"
|
||||
#endif
|
||||
|
||||
util::Timer intervalContentRunner(seconds(1));
|
||||
util::Timer intervalSysinfo(seconds(5));
|
||||
|
||||
@@ -76,7 +76,8 @@ export async function initUpdate() {
|
||||
const assets = release.assets;
|
||||
const filesJsonAsset = assets.find(asset => asset.name === 'filesystem.json');
|
||||
const binariesJsonAsset = assets.find(asset => asset.name === 'binaries.json');
|
||||
if (filesJsonAsset && binariesJsonAsset) {
|
||||
const containsEnv = assets.find(asset => asset.name === env + '.bin');
|
||||
if (filesJsonAsset && binariesJsonAsset && containsEnv) {
|
||||
return {
|
||||
html_url: release.html_url,
|
||||
tag_name: release.tag_name,
|
||||
|
||||
@@ -263,17 +263,11 @@ function startPainter(mac, width, height, tagtype) {
|
||||
input.focus();
|
||||
|
||||
isAddingText = true;
|
||||
//cursor = 'move';
|
||||
//blackButton.innerHTML = 'aA'
|
||||
//redButton.innerHTML = 'aA'
|
||||
const colorButtons = document.querySelectorAll('.colorbutton');
|
||||
colorButtons.forEach(button => {
|
||||
button.innerHTML = 'aA';
|
||||
});
|
||||
if (color=='white') {
|
||||
//whiteButton.classList.remove('active');
|
||||
//blackButton.classList.add('active');
|
||||
//color='black';
|
||||
document.querySelector('.colorbutton').click();
|
||||
}
|
||||
}
|
||||
@@ -293,8 +287,6 @@ function startPainter(mac, width, height, tagtype) {
|
||||
showCursor = false;
|
||||
if (apply) drawText(input.value, textX, textY);
|
||||
txtButton.classList.remove('active');
|
||||
//blackButton.innerHTML = '﹏🖌'
|
||||
//redButton.innerHTML = '﹏🖌'
|
||||
const colorButtons = document.querySelectorAll('.colorbutton');
|
||||
colorButtons.forEach(button => {
|
||||
button.innerHTML = '﹏🖌';
|
||||
|
||||
Reference in New Issue
Block a user