|
@@ -28,8 +28,8 @@ def add_cpu_freq():
|
28
|
28
|
if env.GetBuildType() == "debug":
|
29
|
29
|
env['BUILD_DIR'] = '$PROJECT_BUILD_DIR/$PIOENV/debug'
|
30
|
30
|
|
31
|
|
-# On some platform, F_CPU is a runtime variable. Since it's used to convert from ns
|
32
|
|
-# to CPU cycles, this adds overhead preventing small delay (in the order of less than
|
|
31
|
+# On some platform, F_CPU is a runtime variable. Since it's used to convert from ns
|
|
32
|
+# to CPU cycles, this adds overhead preventing small delay (in the order of less than
|
33
|
33
|
# 30 cycles) to be generated correctly. By using a compile time constant instead
|
34
|
34
|
# the compiler will perform the computation and this overhead will be avoided
|
35
|
35
|
add_cpu_freq()
|