mirror of
https://github.com/raspberrypi/pico-sdk.git
synced 2025-12-10 07:14:36 +01:00
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
1 changed files with 1 additions and 0 deletions
|
|
@ -9,6 +9,7 @@
|
|||
|
||||
#include "pico/types.h"
|
||||
#include "pico/sync.h"
|
||||
#include "hardware/structs/sio.h"
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue