Retry EPUB section build after freeing BLE stack
When building an EPUB section fails with Bluetooth enabled, temporarily stop the BLE stack to free up memory (~16KB), retry the build, then restart BLE. This works around memory fragmentation caused by the NimBLE stack that prevents allocating the large contiguous buffer needed for inflate/deflate operations. The recovery only runs once per uncached chapter since chapters are cached afterwards.
This commit is contained in:
@@ -296,15 +296,9 @@ STR_BT_PAIRED_DEVICES: "Paired Devices"
|
||||
STR_BT_NO_PAIRED: "No paired devices"
|
||||
STR_BT_MAP_BUTTONS: "Map Remote Buttons"
|
||||
STR_BT_PRESS_REMOTE: "Press a button on your remote"
|
||||
STR_BT_ASSIGN_PROMPT: "Select what this button does"
|
||||
STR_BT_PRESET_FREE2: "Apply Free2 Preset"
|
||||
STR_BT_PRESET_FREE3: "Apply Free3 Preset"
|
||||
STR_BT_CLEAR_MAP: "Clear Button Mappings"
|
||||
STR_BT_PAIRING_PASSKEY: "Passkey: %u"
|
||||
STR_BT_PAGE_FORWARD: "Page Forward"
|
||||
STR_BT_PAGE_BACK: "Page Back"
|
||||
STR_BT_FORGET_PROMPT: "Hold Confirm to forget"
|
||||
STR_BT_MAP_FULL: "Mapping table full - clear mappings first"
|
||||
STR_GO_TO_PERCENT: "Go to %"
|
||||
STR_GO_HOME_BUTTON: "Go Home"
|
||||
STR_SYNC_PROGRESS: "Sync Progress"
|
||||
|
||||
Reference in New Issue
Block a user