Added comment describing what WDTPW is

This commit is contained in:
William Miceli committed 2021-05-16 16:52:40 -04:00
1 parent 8704d3841c
commit 01a662f24d
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -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