Skip to content

Commit e6dc3e4

Browse files
authored
Merge pull request #4698 from tyomitch/microbit
`workflow_active` was never defined or used
2 parents ebedeeb + 9a5fb44 commit e6dc3e4

File tree

3 files changed

+5
-2
lines changed

3 files changed

+5
-2
lines changed

supervisor/shared/workflow.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,3 @@
2727
#pragma once
2828

2929
extern bool supervisor_workflow_connecting(void);
30-
extern bool supervisor_workflow_active(void);

supervisor/stub/serial.c

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,3 +53,7 @@ void serial_write(const char *text) {
5353

5454
void supervisor_workflow_reset(void) {
5555
}
56+
57+
bool supervisor_workflow_active(void) {
58+
return false;
59+
}

supervisor/workflow.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,4 +29,4 @@
2929
void supervisor_workflow_reset(void);
3030

3131
// True when the user could be actively iterating on their code.
32-
bool workflow_active(void);
32+
bool supervisor_workflow_active(void);

0 commit comments

Comments
 (0)