Skip to content

Commit 2cfc196

Browse files
committed
the function name change upon request by the repo maintainer
1 parent 9722dda commit 2cfc196

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

cores/nRF5/wiring.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ void init( void )
6969
#endif
7070
}
7171

72-
uint32_t getResetReason(void)
72+
uint32_t readResetReason(void)
7373
{
7474
return _reset_reason;
7575
}

cores/nRF5/wiring.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ extern uint32_t bootloaderVersion;
2929

3030
extern void init(void);
3131

32-
uint32_t getResetReason(void);
32+
uint32_t readResetReason(void);
3333

3434
void enterSerialDfu(void);
3535
void enterOTADfu(void);

0 commit comments

Comments
 (0)