kasjer commented on a change in pull request #1743: Additional Wake Up / Reset
Reason
URL: https://github.com/apache/mynewt-core/pull/1743#discussion_r272498759
##########
File path: hw/mcu/nordic/nrf52xxx/src/hal_reset_cause.c
##########
@@ -37,6 +37,8 @@ hal_reset_cause(void)
reason = HAL_RESET_SOFT;
} else if (reg & POWER_RESETREAS_RESETPIN_Msk) {
reason = HAL_RESET_PIN;
+ } else if(reg & POWER_RESETREAS_OFF_Msk) {
Review comment:
space is missing afater if
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
With regards,
Apache Git Services