Skip to content

Commit 8ee8212

Browse files
committed
Remove delay.h because in api/Common.h
1 parent 56a955e commit 8ee8212

File tree

4 files changed

+3
-107
lines changed

4 files changed

+3
-107
lines changed

Diff for: cores/arduino/delay.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ void SysTick_DefaultHandler(void)
9494
*
9595
* \param dwUs the number of microseconds to pause (uint32_t)
9696
*/
97-
__attribute__((always_inline)) inline void delayMicroseconds( unsigned int usec )
97+
void delayMicroseconds( unsigned int usec )
9898
{
9999
if ( usec == 0 )
100100
{

Diff for: cores/arduino/delay.h

-104
This file was deleted.

Diff for: libraries/USBHost/src/usbhub.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ Web : http://www.circuitsathome.com
1515
1616
*/
1717
#include "usbhub.h"
18-
#include "delay.h"
18+
#include "api/Common.h"
1919

2020
bool USBHub::bResetInitiated = false;
2121

Diff for: variants/mkrwan1300/variant.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -177,7 +177,7 @@ const void* g_apTCInstances[TCC_INST_NUM + TC_INST_NUM]={ TCC0, TCC1, TCC2, TC3,
177177

178178
#if defined(USE_BQ24195L_PMIC)
179179
#include "wiring_private.h"
180-
#include "delay.h"
180+
#include "../Common.h"
181181

182182
#define PMIC_ADDRESS 0x6B
183183
#define PMIC_REG01 0x01

0 commit comments

Comments
 (0)