From cf383d484ffbc0c4a61023e5ae938df32722a553 Mon Sep 17 00:00:00 2001 From: Zachary Kohnen <14093962+DusterTheFirst@users.noreply.github.com> Date: Thu, 25 Feb 2021 09:41:51 -0500 Subject: [PATCH] Add 'hardware/structs/sio.h' header to the 'pico/multicore.h' header\n\nThe `pico/multicore.h` header uses the `sio_hw` struct, but does not include the header that defines it. This normally is not a problem since other headers include the structure as well, but since this structure is used in the header, we should not rely on other headers bringing it in and instead include it directly (#176) --- src/rp2_common/pico_multicore/include/pico/multicore.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/rp2_common/pico_multicore/include/pico/multicore.h b/src/rp2_common/pico_multicore/include/pico/multicore.h index 9ecc146..8738641 100644 --- a/src/rp2_common/pico_multicore/include/pico/multicore.h +++ b/src/rp2_common/pico_multicore/include/pico/multicore.h @@ -9,6 +9,7 @@ #include "pico/types.h" #include "pico/sync.h" +#include "hardware/structs/sio.h" #ifdef __cplusplus extern "C" {