From 2cfc196bdca0de36836ae195568d9b1b8d015472 Mon Sep 17 00:00:00 2001 From: Linar Yusupov Date: Wed, 13 Oct 2021 18:26:02 +0000 Subject: [PATCH] the function name change upon request by the repo maintainer --- cores/nRF5/wiring.c | 2 +- cores/nRF5/wiring.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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);