Skip to content

Commit 2274100

Browse files
Roy, ElizabethWalberg, Irun
Roy, Elizabeth
authored and
Walberg, Irun
committed
millis() changes made after review
1 parent a197cf0 commit 2274100

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

Diff for: cores/arduino/wiring.c

+1-4
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,8 @@ uint32_t F_CPU_CORRECTED = F_CPU;
3939
// the whole number of milliseconds per timerb3 overflow
4040
uint16_t millis_inc;
4141

42-
// the fractional number of milliseconds per timer0 overflow. we shift right
43-
// by three to fit these numbers into a byte. (for the clock speeds we care
44-
// about - 8 and 16 MHz - this doesn't lose precision.)
42+
// the fractional number of milliseconds per timerb3 overflow
4543
uint16_t fract_inc;
46-
//#define FRACT_MAX (1000 >> 3)
4744
#define FRACT_MAX (1000)
4845

4946
// whole number of microseconds per timerb3 tick

0 commit comments

Comments
 (0)