Added comment describing what WDTPW is

This commit is contained in:
William Miceli
2021-05-16 16:52:40 -04:00
parent 8704d3841c
commit 01a662f24d
2 changed files with 2 additions and 2 deletions

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

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