@@ -50,13 +50,6 @@ static background_callback_t status_bar_background_cb;
50
50
static bool _forced_dirty = false;
51
51
static bool _suspended = false;
52
52
53
- void supervisor_status_bar_init (void ) {
54
- shared_module_supervisor_status_bar_obj .console = true;
55
- shared_module_supervisor_status_bar_obj .display = true;
56
- shared_module_supervisor_status_bar_obj .update_in_progress = false;
57
- shared_module_supervisor_status_bar_obj .written = false;
58
- }
59
-
60
53
// Clear if possible, but give up if we can't do it now.
61
54
void supervisor_status_bar_clear (void ) {
62
55
if (!_suspended ) {
@@ -121,8 +114,6 @@ static void status_bar_background(void *data) {
121
114
}
122
115
123
116
void supervisor_status_bar_start (void ) {
124
- status_bar_background_cb .fun = status_bar_background ;
125
- status_bar_background_cb .data = NULL ;
126
117
supervisor_status_bar_request_update (true);
127
118
}
128
119
@@ -141,3 +132,13 @@ void supervisor_status_bar_resume(void) {
141
132
_suspended = false;
142
133
supervisor_status_bar_request_update (false);
143
134
}
135
+
136
+ void supervisor_status_bar_init (void ) {
137
+ status_bar_background_cb .fun = status_bar_background ;
138
+ status_bar_background_cb .data = NULL ;
139
+
140
+ shared_module_supervisor_status_bar_obj .console = true;
141
+ shared_module_supervisor_status_bar_obj .display = true;
142
+ shared_module_supervisor_status_bar_obj .update_in_progress = false;
143
+ shared_module_supervisor_status_bar_obj .written = false;
144
+ }
0 commit comments