summaryrefslogtreecommitdiffstats
path: root/firmware/osccalASM.S
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/osccalASM.S')
-rw-r--r--firmware/osccalASM.S4
1 files changed, 3 insertions, 1 deletions
diff --git a/firmware/osccalASM.S b/firmware/osccalASM.S
index 69bad9f..6b24b50 100644
--- a/firmware/osccalASM.S
+++ b/firmware/osccalASM.S
@@ -93,7 +93,7 @@
#endif
# define cnt16 cnt16L
-; extern void calibrateOscillatorASM(void);
+#if (OSCCAL_HAVE_XTAL == 0)
.global calibrateOscillatorASM
calibrateOscillatorASM:
@@ -171,6 +171,8 @@ usbCObinarysearch:
nop
ret
+#endif //OSCCAL_HAVE_XTAL
+
#undef i
#undef opV
#undef opD