1
mirror of https://github.com/flipperdevices/flipperzero-firmware.git synced 2025-12-12 04:41:26 +04:00

Stricter constness for const data (#4126)

* libs: stricter constness for saving RAM with .rodata section; fbt: sdk: fixed signature generation for nested const params

* hal: additional fixes for constness in USB subsystem

* debug apps: additional usb-related fixes

* mjs: more consts for token parser

* fatfs: const driver struct

* hal: more consts for ble & nfc vars

* hal: made FuriHalSpiBusHandle static

* hal: made FuriHalI2cBusHandle static

* usb: restored previous api

* linter fixes

* API fixes
This commit is contained in:
hedger
2025-03-31 16:23:32 +01:00
committed by GitHub
parent 3bd6ee03ef
commit 5fcaef25b0
68 changed files with 594 additions and 531 deletions

View File

@@ -312,7 +312,7 @@ static bool cli_vcp_is_connected(void) {
return vcp->connected;
}
CliSession cli_vcp = {
const CliSession cli_vcp = {
cli_vcp_init,
cli_vcp_deinit,
cli_vcp_rx,