Added comment describing what WDTPW is
This commit is contained in:
1 parent
8704d3841c
commit
01a662f24d
2 files changed
+2
-2
No files matched your search
@@ -5,7 +5,7 @@
|
||||
#include "SunseekerTelemetry2021.h"
|
||||
|
||||
int main(void) {
|
||||
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
|
||||
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer; `WDTPW` is the "WatchDog Timer PassWord", required for all `WDTCTL` operations
|
||||
_DINT(); // Disables interrupts
|
||||
|
||||
clock_init(); // Configure HF and LF clocks
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
#include "SunseekerTelemetry2021.h"
|
||||
|
||||
int main(void) {
|
||||
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer
|
||||
WDTCTL = WDTPW | WDTHOLD; // Stop watchdog timer; `WDTPW` is the "WatchDog Timer PassWord", required for all `WDTCTL` operations
|
||||
_DINT(); // Disables interrupts
|
||||
|
||||
clock_init(); // Configure HF and LF clocks
|
||||
|
||||
Reference in new issue
Block a user