mirror of
https://github.com/Next-Flip/Momentum-Firmware.git
synced 2026-05-12 17:18:35 -07:00
Merge branch 'dev' of https://github.com/DarkFlippers/unleashed-firmware into mntm-dev
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
/**
|
||||
* @file view_dispatcher.h
|
||||
* GUI: ViewDispatcher API
|
||||
* @brief GUI: ViewDispatcher API
|
||||
*
|
||||
* @warning Views added to a ViewDispatcher MUST NOT be in a ViewStack at the same time.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* @file view_holder.h
|
||||
* @brief GUI: ViewHolder API
|
||||
*
|
||||
* @warning View added to a ViewHolder MUST NOT be in a ViewStack at the same time.
|
||||
*/
|
||||
#pragma once
|
||||
|
||||
#include <gui/view.h>
|
||||
|
||||
@@ -1,11 +1,13 @@
|
||||
/**
|
||||
* @file view_stack.h
|
||||
* GUI: ViewStack API
|
||||
* @brief GUI: ViewStack API
|
||||
*
|
||||
* ViewStack accumulates several Views in one stack.
|
||||
* Draw callbacks are called sequentially starting from
|
||||
* first added. Input callbacks are called in reverse order.
|
||||
* Consumed input is not passed on underlying layers.
|
||||
*
|
||||
* @warning Views added to a ViewStack MUST NOT be in a ViewDispatcher or a ViewHolder at the same time.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
@@ -193,8 +193,6 @@ bool rpc_pb_stream_read(pb_istream_t* istream, pb_byte_t* buf, size_t count) {
|
||||
furi_assert(session);
|
||||
furi_assert(istream->bytes_left);
|
||||
|
||||
/* TODO FL-3768 this function may be called after
|
||||
marking the worker for termination */
|
||||
if(session->terminate) {
|
||||
return false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user