diff --git a/supervisor/shared/workflow.h b/supervisor/shared/workflow.h index 2596dd2c45..b3c817fb8b 100644 --- a/supervisor/shared/workflow.h +++ b/supervisor/shared/workflow.h @@ -27,4 +27,3 @@ #pragma once extern bool supervisor_workflow_connecting(void); -extern bool supervisor_workflow_active(void); diff --git a/supervisor/stub/serial.c b/supervisor/stub/serial.c index 6ca14fcfde..7d00ae1dc3 100644 --- a/supervisor/stub/serial.c +++ b/supervisor/stub/serial.c @@ -53,3 +53,7 @@ void serial_write(const char *text) { void supervisor_workflow_reset(void) { } + +bool supervisor_workflow_active(void) { + return false; +} diff --git a/supervisor/workflow.h b/supervisor/workflow.h index 27d063503a..31900392cd 100755 --- a/supervisor/workflow.h +++ b/supervisor/workflow.h @@ -29,4 +29,4 @@ void supervisor_workflow_reset(void); // True when the user could be actively iterating on their code. -bool workflow_active(void); +bool supervisor_workflow_active(void);