Added comment describing what WDTPW is
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
#include "SunseekerTelemetry2021.h"
|
#include "SunseekerTelemetry2021.h"
|
||||||
|
|
||||||
int main(void) {
|
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
|
_DINT(); // Disables interrupts
|
||||||
|
|
||||||
clock_init(); // Configure HF and LF clocks
|
clock_init(); // Configure HF and LF clocks
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
#include "SunseekerTelemetry2021.h"
|
#include "SunseekerTelemetry2021.h"
|
||||||
|
|
||||||
int main(void) {
|
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
|
_DINT(); // Disables interrupts
|
||||||
|
|
||||||
clock_init(); // Configure HF and LF clocks
|
clock_init(); // Configure HF and LF clocks
|
||||||
|
|||||||
Reference in New Issue
Block a user