diff --git a/cores/nRF5/wiring.c b/cores/nRF5/wiring.c index 965a2ed7..a18e7fc5 100644 --- a/cores/nRF5/wiring.c +++ b/cores/nRF5/wiring.c @@ -69,7 +69,7 @@ void init( void ) #endif } -uint32_t getResetReason(void) +uint32_t readResetReason(void) { return _reset_reason; } diff --git a/cores/nRF5/wiring.h b/cores/nRF5/wiring.h index c49c33f4..4a3682c6 100644 --- a/cores/nRF5/wiring.h +++ b/cores/nRF5/wiring.h @@ -29,7 +29,7 @@ extern uint32_t bootloaderVersion; extern void init(void); -uint32_t getResetReason(void); +uint32_t readResetReason(void); void enterSerialDfu(void); void enterOTADfu(void);