diff options
author | cpldcpu <cpldcpu@gmail.com> | 2013-11-04 05:11:22 +0100 |
---|---|---|
committer | cpldcpu <cpldcpu@gmail.com> | 2013-11-04 05:11:22 +0100 |
commit | d7360925c1170acbc3a7b98c50e48350ac80fbc7 (patch) | |
tree | 6c4be92ab12aab00d17e264ef1796f05dec574f3 /firmware/libs-device/osccal.h | |
parent | 819ce8ac705e9a336cb60fdb6f525a17cbc9dcb3 (diff) | |
download | micronucleus-d7360925c1170acbc3a7b98c50e48350ac80fbc7.tar.gz micronucleus-d7360925c1170acbc3a7b98c50e48350ac80fbc7.tar.bz2 micronucleus-d7360925c1170acbc3a7b98c50e48350ac80fbc7.zip |
assembler version of calibrateoscillator - 1952 bytes
still needs cleaning up
Diffstat (limited to 'firmware/libs-device/osccal.h')
-rw-r--r-- | firmware/libs-device/osccal.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 |