We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5541ae3 commit cce1fbbCopy full SHA for cce1fbb
ports/analog/supervisor/port.c
@@ -45,9 +45,8 @@
45
#include "rtc.h"
46
47
// msec to RTC subsec ticks (4 kHz)
48
-#define MSEC_TO_SS_ALARM(x) \
49
- (0 - ((x * 4096) / \
50
- 1000)) /* Converts a time in milleseconds to the equivalent RSSA register value. */
+/* Converts a time in milleseconds to equivalent RSSA register value */
+#define MSEC_TO_SS_ALARM(x) (0 - ((x * 4096) / 1000))
51
52
// Externs defined by linker .ld file
53
extern uint32_t _stack, _heap, _estack, _eheap;
0 commit comments