From d7360925c1170acbc3a7b98c50e48350ac80fbc7 Mon Sep 17 00:00:00 2001 From: cpldcpu Date: Mon, 4 Nov 2013 05:11:22 +0100 Subject: assembler version of calibrateoscillator - 1952 bytes still needs cleaning up --- firmware/libs-device/osccal.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'firmware/libs-device') diff --git a/firmware/libs-device/osccal.h b/firmware/libs-device/osccal.h index 6f443a5..bfc5530 100644 --- a/firmware/libs-device/osccal.h +++ b/firmware/libs-device/osccal.h @@ -22,11 +22,11 @@ calibrateOscillator() from the reset hook in usbconfig.h: */ #ifndef __ASSEMBLER__ -extern void calibrateOscillator(void); -//extern void calibrateOscillatorASM(void); +//extern void calibrateOscillator(void); +extern void calibrateOscillatorASM(void); #endif -#define USB_RESET_HOOK(resetStarts) if(!resetStarts){ calibrateOscillator(); } -//#define USB_RESET_HOOK(resetStarts) if(!resetStarts){ calibrateOscillatorASM(); } +//#define USB_RESET_HOOK(resetStarts) if(!resetStarts){ calibrateOscillator(); } +#define USB_RESET_HOOK(resetStarts) if(!resetStarts){ calibrateOscillatorASM(); } /* This routine is an alternative to the continuous synchronization described -- cgit v1.2.3