Skip to content

Commit fbce6c2

Browse files
authored
Minor fix on GPIO initialization (#113)
This PR fixes an error message that showed up during `hello-world` container: ~~~bash E: GPIO system not initialized or invalid module 0x20004f70 ~~~ Signed-off-by: Federico Roux <rouxfederico@gmail.com>
1 parent 90cb917 commit fbce6c2

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/ocre/components/container_supervisor/cs_sm_impl.c

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -295,6 +295,9 @@ ocre_container_runtime_status_t CS_runtime_init(ocre_cs_ctx *ctx, ocre_container
295295
#ifdef CONFIG_OCRE_TIMER
296296
ocre_timer_init();
297297
#endif
298+
#ifdef CONFIG_OCRE_GPIO
299+
ocre_gpio_init();
300+
#endif
298301
#ifdef CONFIG_OCRE_CONTAINER_MESSAGING
299302
ocre_messaging_init();
300303
#endif

0 commit comments

Comments
 (0)