Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
74 commits
Select commit Hold shift + click to select a range
f0a5699
Fix height calculation and improve task handling
Ninja-jr Jul 14, 2026
a8f9415
Update debounce method in ble_common.cpp
Ninja-jr Jul 14, 2026
d9ddd46
Refactor UI text and layout in BLE_Suite.cpp
Ninja-jr Jul 14, 2026
af15c4c
Reorder and add includes in BLE_Suite.h
Ninja-jr Jul 14, 2026
1525da5
Remove TFT color definitions
Ninja-jr Jul 14, 2026
c9070c4
Fix String to const char* conversion for text width
Ninja-jr Jul 14, 2026
0a294c6
Update BLE service start comment for NimBLE v2
Ninja-jr Jul 14, 2026
32854ed
Fix missing newline at end of file
Ninja-jr Jul 14, 2026
823330e
Refactor BLE_Suite.h for include and comment clarity
Ninja-jr Jul 14, 2026
019f330
Update BLE Suite version and improve scanning logic
Ninja-jr Jul 14, 2026
90bb252
Fix title truncation and NimBLE compatibility
Ninja-jr Jul 14, 2026
854bb2f
Update BLE Suite version and scan time settings
Ninja-jr Jul 14, 2026
1e01d18
Update last updated date in BLE_Suite.cpp
Ninja-jr Jul 14, 2026
25fdea5
Refactor TargetSelectionCallbacks for better clarity
Ninja-jr Jul 14, 2026
1343e5f
Refactor BLE scanning to unify active and passive methods
Ninja-jr Jul 14, 2026
b529008
Reduce active and passive scan time to 10 seconds
Ninja-jr Jul 14, 2026
928677c
Enhance BLE Suite with snapshot support and refactor
Ninja-jr Jul 15, 2026
88cb9a8
Enhance BLE_Suite with device info structures and updates
Ninja-jr Jul 15, 2026
66ec26a
Refactor BLE_Suite: Remove unused structs and update scan methods
Ninja-jr Jul 15, 2026
b147d1d
Implement cleanup function for BLE state management
Ninja-jr Jul 15, 2026
2c3feb3
Refactor cleanupBLESuiteState to avoid BLE deinit
Ninja-jr Jul 15, 2026
7493b42
Enhance comments in ble_common.h for clarity
Ninja-jr Jul 15, 2026
0f53ae1
Implement bounds checking for BLE device display
Ninja-jr Jul 15, 2026
6c23241
Update BLE scan methods for NimBLE 2.x compatibility
Ninja-jr Jul 15, 2026
856e5b2
Add compatibility note for NimBLE versions
Ninja-jr Jul 15, 2026
a0b63ff
Refactor BLE scan logic and device management
Ninja-jr Jul 15, 2026
b0fcb1e
Refactor BLE scan logic and remove device limit
Ninja-jr Jul 15, 2026
17f79f4
Fix header guard in ble_common.h
Ninja-jr Jul 15, 2026
7d5313a
Refactor BLE_Suite.cpp for better state handling
Ninja-jr Jul 15, 2026
91530b8
Clean up comments in BLE_Suite.cpp
Ninja-jr Jul 15, 2026
190b3a2
Simplify BLE stack management and improve readability
Ninja-jr Jul 15, 2026
2c140b5
Downgrade NimBLE-Arduino library version
Ninja-jr Jul 15, 2026
d387002
Update BLE_Suite.cpp
Ninja-jr Jul 15, 2026
e651b42
Fix preprocessor directive closing in BLE_Suite.cpp
Ninja-jr Jul 15, 2026
ec9ec30
Refactor BLE handling for NimBLE 2.3.7 compatibility
Ninja-jr Jul 15, 2026
734edaf
Clean up ble_common.h by removing comments
Ninja-jr Jul 15, 2026
3b9b208
Refactor BLE_Suite.h with new device structures
Ninja-jr Jul 15, 2026
d201e2c
Enhance BLE support for NimBLE 2.x
Ninja-jr Jul 15, 2026
c3e7bd4
Update BLE_Suite.cpp
Ninja-jr Jul 15, 2026
f829daa
Clean up comments and fix preprocessor directive
Ninja-jr Jul 16, 2026
1778e80
Implement NimBLE version detection and API adjustments
Ninja-jr Jul 16, 2026
cc924c3
Enhance BLE common functionality for NimBLE 2.x
Ninja-jr Jul 16, 2026
69534f5
Enhance BLE common header with version detection
Ninja-jr Jul 16, 2026
f3381b2
Enhance NimBLE version detection and scanning
Ninja-jr Jul 16, 2026
2b51a4d
Refactor NimBLE version detection in BLE_Suite.h
Ninja-jr Jul 16, 2026
15bff5e
Refactor BLE scanning memory checks and scan times
Ninja-jr Jul 16, 2026
4bc7933
Refactor BLE initialization by removing radio memory check
Ninja-jr Jul 16, 2026
dddb716
Refactor BLE button press enum definition
Ninja-jr Jul 16, 2026
d053b09
Fix header guard in BLE_Suite.h
Ninja-jr Jul 16, 2026
d0a1cb9
Fix header guard in BLE_Suite.h
Ninja-jr Jul 17, 2026
a153304
Update BLE_Suite.cpp
Ninja-jr Jul 17, 2026
b5f063a
Check RAM availability before BLE initialization
Ninja-jr Jul 17, 2026
b91bbef
Add AdvertisedDeviceCallbacks class for BLE scanning
Ninja-jr Jul 17, 2026
0dbb7c5
Fix header guard in BLE_Suite.h
Ninja-jr Jul 17, 2026
3ec1f35
Enhance NimBLE v2 detection and improve comments
Ninja-jr Jul 17, 2026
f5638e2
Include ble_common.h and refactor AdvertisedDeviceCallbacks
Ninja-jr Jul 17, 2026
e73c4f8
Update BLE_Suite.h
Ninja-jr Jul 17, 2026
3b3a950
Simplify NimBLE version detection logic
Ninja-jr Jul 17, 2026
f81baf3
Refactor NimBLE version detection logic
Ninja-jr Jul 17, 2026
a95f54c
Refactor NimBLE version detection macros
Ninja-jr Jul 17, 2026
ecf7c8e
Simplify NimBLE version detection
Ninja-jr Jul 17, 2026
6ebf379
Update NimBLE version detection and callbacks
Ninja-jr Jul 17, 2026
36cc72e
Modify AdvertisedDeviceCallbacks for NimBLE compatibility
Ninja-jr Jul 17, 2026
9da4e15
Fix include guard and update header includes
Ninja-jr Jul 17, 2026
811b0c5
Update BLE_Suite.h
Ninja-jr Jul 17, 2026
efe75f2
Refactor BLE scan callbacks and memory management
Ninja-jr Jul 17, 2026
854e637
Refactor ble_common.h for NimBLE 2.x updates
Ninja-jr Jul 17, 2026
59488bf
Refactor AdvertisedDeviceCallbacks with inline onResult
Ninja-jr Jul 17, 2026
1653186
Remove AdvertisedDeviceCallbacks class and instance
Ninja-jr Jul 17, 2026
574248f
Refactor BLE handling and optimize memory usage
Ninja-jr Jul 19, 2026
65ea3d6
Refactor NimBLE version detection and clean includes
Ninja-jr Jul 19, 2026
e01e7da
Update BLE_Suite.cpp for memory checks
Ninja-jr Jul 19, 2026
a8edb92
Update NimBLE-Arduino version to 2.5
Ninja-jr Jul 19, 2026
23e750c
Refactor NimBLE version checks and clean up code
Ninja-jr Jul 19, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions src/core/scrollableTextArea.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
ScrollableTextArea::ScrollableTextArea(const String &title)
: firstVisibleLine{0}, _redraw{true}, _title(title), _fontSize(FP), _startX(BORDER_PAD_X),
_startY(BORDER_PAD_Y), _width(tftWidth - 2 * BORDER_PAD_X),
_height(tftHeight - BORDER_PAD_X - BORDER_PAD_Y) {
_height(tftHeight - 4 - BORDER_PAD_X - BORDER_PAD_Y) {
drawMainBorder();

if (!_title.isEmpty()) {
Expand Down Expand Up @@ -76,11 +76,11 @@ void ScrollableTextArea::show(bool force) {

while (check(SelPress)) {
update(force);
vTaskDelay(pdMS_TO_TICKS(1));
yield();
}
while (!check(SelPress)) {
update(force);
vTaskDelay(pdMS_TO_TICKS(1));
yield();
}
}

Expand Down Expand Up @@ -121,7 +121,7 @@ void ScrollableTextArea::fromString(const String &text) {
endIdx++;
}

// Add the last line if theres remaining text (text does not ends with \n)
// Add the last line if there's remaining text (text does not ends with \n)
if (startIdx < text.length()) { addLine(text.substring(startIdx, endIdx)); }
}

Expand Down
Loading
Loading