summaryrefslogtreecommitdiffstats
path: root/firmware/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/main.c')
-rw-r--r--firmware/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/firmware/main.c b/firmware/main.c
index aab826c..5381cee 100644
--- a/firmware/main.c
+++ b/firmware/main.c
@@ -259,7 +259,9 @@ int main(void) {
if (!--resetctr) { // reset encountered
usbNewDeviceAddr = 0; // bits from the reset handling of usbpoll()
usbDeviceAddr = 0;
+#if (OSCCAL_HAVE_XTAL == 0)
calibrateOscillatorASM();
+#endif
}
if (USB_INTR_PENDING & (1<<USB_INTR_PENDING_BIT)) {