Skip to content

Commit

Permalink
update eez-framework
Browse files Browse the repository at this point in the history
  • Loading branch information
mvladic committed Jan 26, 2025
1 parent 9f9b2a2 commit 1e0a4c2
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 5 deletions.
Binary file modified packages/project-editor/flow/runtime/eez_runtime.wasm
Binary file not shown.
Binary file modified packages/project-editor/flow/runtime/lvgl_runtime_v8.3.wasm
Binary file not shown.
Binary file modified packages/project-editor/flow/runtime/lvgl_runtime_v9.0.wasm
Binary file not shown.
14 changes: 11 additions & 3 deletions resources/eez-framework-amalgamation/eez-flow.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Autogenerated on January 24, 2025 9:01:25 PM from eez-framework commit 3e77217de3bfe5f3bee72e7c438adff9f71b8401 */
/* Autogenerated on January 26, 2025 4:44:23 PM from eez-framework commit 0006a5c3421e344c1cceb13528634cd9dd62adac */
/*
* eez-framework
*
Expand Down Expand Up @@ -6826,7 +6826,11 @@ namespace flow {
#if defined(__EMSCRIPTEN__)
uint32_t g_wasmModuleId = 0;
#endif
static const uint32_t FLOW_TICK_MAX_DURATION_MS = 5;
#if !defined(EEZ_FLOW_TICK_MAX_DURATION_MS)
#define EEZ_FLOW_TICK_MAX_DURATION_MS 5
#endif
static const uint32_t FLOW_TICK_MAX_DURATION_MS = EEZ_FLOW_TICK_MAX_DURATION_MS;
static unsigned g_tick_max_duration_count = 0;
int g_selectedLanguage = 0;
FlowState *g_firstFlowState;
FlowState *g_lastFlowState;
Expand Down Expand Up @@ -6856,6 +6860,7 @@ void tick() {
return;
}
uint32_t startTickCount = millis();
visitWatchList();
auto queueSizeAtTickStart = getQueueSize();
for (size_t i = 0; i < queueSizeAtTickStart || g_numNonContinuousTaskInQueue > 0; i++) {
FlowState *flowState;
Expand Down Expand Up @@ -6891,11 +6896,11 @@ void tick() {
}
if ((i + 1) % 5 == 0) {
if (millis() - startTickCount >= FLOW_TICK_MAX_DURATION_MS) {
g_tick_max_duration_count++;
break;
}
}
}
visitWatchList();
finishToDebuggerMessageHook();
}
void stop() {
Expand All @@ -6915,6 +6920,9 @@ void doStop() {
bool isFlowStopped() {
return g_isStopped;
}
unsigned getTickMaxDurationCounter() {
return g_tick_max_duration_count;
}
#if EEZ_OPTION_GUI
FlowState *getPageFlowState(Assets *assets, int16_t pageIndex, const WidgetCursor &widgetCursor) {
if (!assets->flowDefinition) {
Expand Down
3 changes: 2 additions & 1 deletion resources/eez-framework-amalgamation/eez-flow.h
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* Autogenerated on January 24, 2025 9:01:25 PM from eez-framework commit 3e77217de3bfe5f3bee72e7c438adff9f71b8401 */
/* Autogenerated on January 26, 2025 4:44:23 PM from eez-framework commit 0006a5c3421e344c1cceb13528634cd9dd62adac */
/*
* eez-framework
*
Expand Down Expand Up @@ -2615,6 +2615,7 @@ unsigned start(Assets *assets);
void tick();
void stop();
bool isFlowStopped();
unsigned getTickMaxDurationCounter();
#if EEZ_OPTION_GUI
FlowState *getPageFlowState(Assets *assets, int16_t pageIndex, const WidgetCursor &widgetCursor);
#else
Expand Down
2 changes: 1 addition & 1 deletion wasm/eez-framework

0 comments on commit 1e0a4c2

Please sign in to comment.