Merge branch 'gsurkov/3764_expansion_control' of https://github.com/flipperdevices/flipperzero-firmware into xfw-dev

This commit is contained in:
Willy-JL
2024-02-09 15:11:55 +00:00
71 changed files with 1646 additions and 594 deletions

View File

@@ -60,7 +60,7 @@ static void expansion_detect_callback(void* context) {
ExpansionMessage message = {
.type = ExpansionMessageTypeModuleConnected,
.api_lock = NULL, // Not locking the API here
.api_lock = NULL, // Not locking the API here to avoid a deadlock
};
// Not waiting for available queue space, discarding message if there is none
@@ -74,7 +74,7 @@ static void expansion_worker_callback(void* context) {
ExpansionMessage message = {
.type = ExpansionMessageTypeModuleDisconnected,
.api_lock = NULL, // Not locking the API here
.api_lock = NULL, // Not locking the API here to avoid a deadlock
};
const FuriStatus status = furi_message_queue_put(instance->queue, &message, FuriWaitForever);