move externs to .h
This commit is contained in:
parent
c86ca2a4ff
commit
c713d31d0d
@ -122,7 +122,6 @@ void common_hal_mcu_processor_get_uid(uint8_t raw_id[]) {
|
||||
}
|
||||
}
|
||||
|
||||
extern uint32_t reset_reason_saved;
|
||||
mcu_reset_reason_t common_hal_mcu_processor_get_reset_reason(void) {
|
||||
mcu_reset_reason_t r = RESET_REASON_UNKNOWN;
|
||||
if (reset_reason_saved == 0) {
|
||||
|
@ -36,4 +36,6 @@ typedef struct {
|
||||
// Stores no state currently.
|
||||
} mcu_processor_obj_t;
|
||||
|
||||
extern uint32_t reset_reason_saved;
|
||||
|
||||
#endif // MICROPY_INCLUDED_NRF_COMMON_HAL_MICROCONTROLLER_PROCESSOR_H
|
||||
|
Loading…
x
Reference in New Issue
Block a user