Skip to content

Commit 107f83c

Browse files
committed
Expose to JS functions to use Http client, BLE and other important features.
1 parent 2ffd4b2 commit 107f83c

File tree

5 files changed

+180
-699
lines changed

5 files changed

+180
-699
lines changed

websocket/dynamic_js.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
#include "dynamic_js.h"
22
#include <Arduino.h>
3-
#include <WiFi.h>
43
#include <FS.h>
54
#include <SD_MMC.h>
65

websocket/fallback.cpp

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1+
#include <Arduino.h>
12
#include "fallback.h"
23
#include "pins_config.h"
34
#include "rm67162.h" // LCD driver
45
#include <lvgl.h> // Ensure you have LVGL
5-
#include <WiFi.h> // (If you need Wi-Fi info in fallback)
6-
#include <FS.h> // Possibly for file ops
7-
#include <SD_MMC.h> // If needed for fallback?
6+
#include "notification.h" // For the GIF data
87

98
// We'll store references to the fallback label + gif
109
static lv_obj_t* fb_label = nullptr;

websocket/fallback.h

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,5 @@
11
#pragma once
22

3-
#include <Arduino.h>
4-
#include "lvgl.h" // For LVGL types
5-
#include "notification.h" // For the GIF data
6-
// extern const lv_img_dsc_t notification; // Typically declared in notification.h
7-
83
// Public API
94
void fallback_setup();
105
void fallback_loop();

0 commit comments

Comments
 (0)