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 GitHub
parent d3aa6f7f98
commit cf383d484f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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