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:
parent
d3aa6f7f98
commit
cf383d484f
@ -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" {
|
||||||
|
Loading…
Reference in New Issue
Block a user