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)

This commit is contained in:
Zachary Kohnen 2021-02-25 09:41:51 -05:00 committed by graham sanderson
parent e730e03e7f
commit 132d6df695

View File

@ -9,6 +9,7 @@
#include "pico/types.h"
#include "pico/sync.h"
#include "hardware/structs/sio.h"
#ifdef __cplusplus
extern "C" {