File tree Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Expand file tree Collapse file tree 1 file changed +11
-2
lines changed Original file line number Diff line number Diff line change 27
27
// defined in "esos_sensor.h"
28
28
static esos_sensor_process_t sensor_processing_mode ;
29
29
30
- ESOS_USER_TASK ( prettyMenu ) {
30
+ ESOS_CHILD_TASK ( menu ) {
31
31
32
32
static char proc_mode_buffer [8 ]; // buffer for holding the desired processing mode
33
33
static char num_samples_buffer [8 ]; // buffer for holding the desired number of samples
@@ -132,7 +132,16 @@ ESOS_USER_TASK(prettyMenu) {
132
132
ESOS_TASK_END ();
133
133
}
134
134
135
+ ESOS_USER_TASK (placeholderTask ) {
136
+ ESOS_THREAD_HANDLE th_child ;
137
+
138
+ ESOS_TASK_BEGIN ();
139
+ ESOS_SPAWN_AND_WAIT (th_child , menu );
140
+ ESOS_TASK_END ();
141
+
142
+ }
143
+
135
144
void user_init (void ){
136
145
config_esos_uiF14 ();
137
- esos_RegisterTask (prettyMenu );
146
+ esos_RegisterTask (placeholderTask );
138
147
}
You can’t perform that action at this time.
0 commit comments