Skip to content

Commit a643bc4

Browse files
committed
Fix formatting README.md
1 parent 78c99ec commit a643bc4

File tree

1 file changed

+2
-8
lines changed

1 file changed

+2
-8
lines changed

README.md

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -242,14 +242,12 @@ static void input_task(void *param) {
242242
243243
int main(void) {
244244
am_ao_state_ctor(/*cfg=*/NULL);
245-
246245
am_event_add_pool(
247246
m_event_pool,
248247
sizeof(m_event_pool),
249248
sizeof(m_event_pool[0]),
250249
AM_ALIGNOF(am_timer_t)
251250
);
252-
253251
am_ao_init_subscribe_list(m_pubsub_list, AM_COUNTOF(m_pubsub_list));
254252
255253
struct app m;
@@ -264,17 +262,13 @@ int main(void) {
264262
265263
/* ticker thread to feed timers */
266264
am_pal_task_create(
267-
"ticker",
268-
AM_AO_PRIO_MIN,
269-
/*stack=*/NULL, /*stack_size=*/0,
265+
"ticker", AM_AO_PRIO_MIN, /*stack=*/NULL, /*stack_size=*/0,
270266
/*entry=*/ticker_task, /*arg=*/NULL
271267
);
272268
273269
/* user input controlling thread */
274270
am_pal_task_create(
275-
"input",
276-
AM_AO_PRIO_MIN,
277-
/*stack=*/NULL, /*stack_size=*/0,
271+
"input", AM_AO_PRIO_MIN, /*stack=*/NULL, /*stack_size=*/0,
278272
/*entry=*/input_task, /*arg=*/&m
279273
);
280274

0 commit comments

Comments
 (0)