furi_check - a new way to asserting (#204)
* hal-related task_is_isr_context function * furi_check implementation * change application to use furi_check * add second level of assertion * add TODO about ISR context * Applications: refactor furi_check and furi_assert. * Apploader: propwer widget usage. Menu: check on furi resource request. * refactor furi_check Co-authored-by: Aleksandr Kutuzov <aku@plooks.com> Co-authored-by: coreglitch <mail@s3f.ru>
This commit is contained in:
@@ -203,7 +203,7 @@ static void input_callback(InputEvent* input_event, void* ctx) {
|
||||
|
||||
extern "C" void cc1101_workaround(void* p) {
|
||||
osMessageQueueId_t event_queue = osMessageQueueNew(1, sizeof(AppEvent), NULL);
|
||||
assert(event_queue);
|
||||
furi_check(event_queue);
|
||||
|
||||
State _state;
|
||||
_state.mode = ModeRx;
|
||||
|
Reference in New Issue
Block a user