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 392e0c2 commit c27109dCopy full SHA for c27109d
cores/arduino/wiring.c
@@ -277,12 +277,12 @@ void init()
277
/* Disable system clock prescaler - F_CPU should now be ~16MHz */
278
_PROTECTED_WRITE(CLKCTRL_MCLKCTRLB, 0x00);
279
280
- /* Calculate actual F_CPU with error values from signature row */
281
- int8_t sigrow_val = SIGROW.OSC16ERR5V;
282
- int64_t cpu_freq = F_CPU;
283
- cpu_freq *= (1024 + sigrow_val);
284
- cpu_freq /= 1024;
285
- F_CPU_CORRECTED = (uint32_t)cpu_freq;
+// /* Calculate actual F_CPU with error values from signature row */
+// int8_t sigrow_val = SIGROW.OSC16ERR5V;
+// int64_t cpu_freq = F_CPU;
+// cpu_freq *= (1024 + sigrow_val);
+// cpu_freq /= 1024;
+// F_CPU_CORRECTED = (uint32_t)cpu_freq;
286
287
/***************************** TIMERS FOR PWM *********************************/
288
0 commit comments