/* Teensyduino Core Library
* http://www.pjrc.com/teensy/
* Copyright (c) 2013 PJRC.COM, LLC.
- * Modifications by Jacob Alexander 2013-2014
+ * Modifications by Jacob Alexander 2013-2015
*
* Permission is hereby granted, free of charge, to any person obtaining
* a copy of this software and associated documentation files (the
* SOFTWARE.
*/
-#ifndef __DELAY_H
-#define __DELAY_H
+#pragma once
// ----- System Includes -----
{
#if F_CPU == 96000000
uint32_t n = usec << 5;
+#elif F_CPU == 72000000
+ uint32_t n = usec << 5; // XXX Not accurate, assembly snippet needs to be updated
#elif F_CPU == 48000000
uint32_t n = usec << 4;
#elif F_CPU == 24000000
void delay(uint32_t ms);
-#endif
-