Skip to content

Commit beaa87a

Browse files
Removed unimplemented delay guards
1 parent f0f1068 commit beaa87a

File tree

7 files changed

+28
-28
lines changed

7 files changed

+28
-28
lines changed

ARM/gcc_clang/delays/m0+/delays.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ void __attribute__( ( noinline, section( ".RamFunc" ) ) ) Delay_Cyc( uint32_t cy
2121

2222
void __attribute__( ( noinline ) ) Delay_us( uint32_t time_us )
2323
{
24-
#ifdef FOSC_KHZ_VALUE_DEFINED
24+
// #ifdef FOSC_KHZ_VALUE_DEFINED // TODO - return in next NECTO update
2525
Delay_Cyc( ( time_us * getClockValue( FOSC_KHZ_VALUE ) ) - ( getClockValue( FOSC_KHZ_VALUE ) / 2 ) );
26-
#endif
26+
// #endif
2727
}
2828

2929
void __attribute__( ( noinline ) ) Delay_ms( uint32_t Time_ms )
3030
{
31-
#ifdef FOSC_KHZ_VALUE_DEFINED
31+
// #ifdef FOSC_KHZ_VALUE_DEFINED // TODO - return in next NECTO update
3232
Delay_Cyc( Time_ms * 1000ul * getClockValue( FOSC_KHZ_VALUE ) );
33-
#endif
33+
// #endif
3434
}
3535

3636
void __attribute__( ( noinline ) ) Delay_Advanced_ms( uint32_t Time_ms, uint32_t Current_Fosc_kHz )

ARM/gcc_clang/delays/m0/delays.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,16 +21,16 @@ void __attribute__( ( noinline, section( ".RamFunc" ) ) ) Delay_Cyc( uint32_t cy
2121

2222
void __attribute__( ( noinline ) ) Delay_us( uint32_t time_us )
2323
{
24-
#ifdef FOSC_KHZ_VALUE_DEFINED
24+
// #ifdef FOSC_KHZ_VALUE_DEFINED // TODO - return in next NECTO update
2525
Delay_Cyc( ( time_us * getClockValue( FOSC_KHZ_VALUE ) ) - ( getClockValue( FOSC_KHZ_VALUE ) / 2 ) );
26-
#endif
26+
// #endif
2727
}
2828

2929
void __attribute__( ( noinline ) ) Delay_ms( uint32_t Time_ms )
3030
{
31-
#ifdef FOSC_KHZ_VALUE_DEFINED
31+
// #ifdef FOSC_KHZ_VALUE_DEFINED // TODO - return in next NECTO update
3232
Delay_Cyc( Time_ms * 1000ul * getClockValue( FOSC_KHZ_VALUE ) );
33-
#endif
33+
// #endif
3434
}
3535

3636
void __attribute__( ( noinline ) ) Delay_Advanced_ms( uint32_t Time_ms, uint32_t Current_Fosc_kHz )

ARM/gcc_clang/delays/m3/delays.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ void __attribute__( ( noinline, section( ".RamFunc" ) ) ) Delay_Cyc( uint32_t cy
1414

1515
void __attribute__( ( noinline ) ) Delay_us( uint32_t time_us )
1616
{
17-
#ifdef FOSC_KHZ_VALUE_DEFINED
17+
// #ifdef FOSC_KHZ_VALUE_DEFINED // TODO - return in next NECTO update
1818
Delay_Cyc( ( time_us * getClockValue( FOSC_KHZ_VALUE ) ) - ( getClockValue( FOSC_KHZ_VALUE ) / 2 ) );
19-
#endif
19+
// #endif
2020
}
2121

2222
void __attribute__( ( noinline ) ) Delay_ms( uint32_t Time_ms )
2323
{
24-
#ifdef FOSC_KHZ_VALUE_DEFINED
24+
// #ifdef FOSC_KHZ_VALUE_DEFINED // TODO - return in next NECTO update
2525
Delay_Cyc( Time_ms * 1000ul * getClockValue( FOSC_KHZ_VALUE ) );
26-
#endif
26+
// #endif
2727
}
2828

2929
void __attribute__( ( noinline ) ) Delay_Advanced_ms( uint32_t Time_ms, uint32_t Current_Fosc_kHz )

ARM/gcc_clang/delays/m4/delays.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ void __attribute__( ( noinline, section( ".RamFunc" ) ) ) Delay_Cyc( uint32_t cy
1414

1515
void __attribute__( ( noinline ) ) Delay_us( uint32_t time_us )
1616
{
17-
#ifdef FOSC_KHZ_VALUE_DEFINED
17+
// #ifdef FOSC_KHZ_VALUE_DEFINED // TODO - return in next NECTO update
1818
Delay_Cyc( ( time_us * getClockValue( FOSC_KHZ_VALUE ) ) - ( getClockValue( FOSC_KHZ_VALUE ) / 2 ) );
19-
#endif
19+
// #endif
2020
}
2121

2222
void __attribute__( ( noinline ) ) Delay_ms( uint32_t Time_ms )
2323
{
24-
#ifdef FOSC_KHZ_VALUE_DEFINED
24+
// #ifdef FOSC_KHZ_VALUE_DEFINED // TODO - return in next NECTO update
2525
Delay_Cyc( Time_ms * 1000ul * getClockValue( FOSC_KHZ_VALUE ) );
26-
#endif
26+
// #endif
2727
}
2828

2929
void __attribute__( ( noinline ) ) Delay_Advanced_ms( uint32_t Time_ms, uint32_t Current_Fosc_kHz )

ARM/gcc_clang/delays/m4dsp/delays.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ void __attribute__( ( noinline, section( ".RamFunc" ) ) ) Delay_Cyc( uint32_t cy
1414

1515
void __attribute__( ( noinline ) ) Delay_us( uint32_t time_us )
1616
{
17-
#ifdef FOSC_KHZ_VALUE_DEFINED
17+
// #ifdef FOSC_KHZ_VALUE_DEFINED // TODO - return in next NECTO update
1818
Delay_Cyc( ( time_us * getClockValue( FOSC_KHZ_VALUE ) ) - ( getClockValue( FOSC_KHZ_VALUE ) / 2 ) );
19-
#endif
19+
// #endif
2020
}
2121

2222
void __attribute__( ( noinline ) ) Delay_ms( uint32_t Time_ms )
2323
{
24-
#ifdef FOSC_KHZ_VALUE_DEFINED
24+
// #ifdef FOSC_KHZ_VALUE_DEFINED // TODO - return in next NECTO update
2525
Delay_Cyc( Time_ms * 1000ul * getClockValue( FOSC_KHZ_VALUE ) );
26-
#endif
26+
// #endif
2727
}
2828

2929
void __attribute__( ( noinline ) ) Delay_Advanced_ms( uint32_t Time_ms, uint32_t Current_Fosc_kHz )

ARM/gcc_clang/delays/m4ef/delays.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ void __attribute__( ( noinline, section( ".RamFunc" ) ) ) Delay_Cyc( uint32_t cy
1414

1515
void __attribute__( ( noinline ) ) Delay_us( uint32_t time_us )
1616
{
17-
#ifdef FOSC_KHZ_VALUE_DEFINED
17+
// #ifdef FOSC_KHZ_VALUE_DEFINED // TODO - return in next NECTO update
1818
Delay_Cyc( ( time_us * getClockValue( FOSC_KHZ_VALUE ) ) - ( getClockValue( FOSC_KHZ_VALUE ) / 2 ) );
19-
#endif
19+
// #endif
2020
}
2121

2222
void __attribute__( ( noinline ) ) Delay_ms( uint32_t Time_ms )
2323
{
24-
#ifdef FOSC_KHZ_VALUE_DEFINED
24+
// #ifdef FOSC_KHZ_VALUE_DEFINED // TODO - return in next NECTO update
2525
Delay_Cyc( Time_ms * 1000ul * getClockValue( FOSC_KHZ_VALUE ) );
26-
#endif
26+
// #endif
2727
}
2828

2929
void __attribute__( ( noinline ) ) Delay_Advanced_ms( uint32_t Time_ms, uint32_t Current_Fosc_kHz )

ARM/gcc_clang/delays/m7/delays.c

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,16 +14,16 @@ void __attribute__( ( noinline, section( ".RamFunc" ) ) ) Delay_Cyc( uint32_t cy
1414

1515
void __attribute__( ( noinline ) ) Delay_us( uint32_t time_us )
1616
{
17-
#ifdef FOSC_KHZ_VALUE_DEFINED
17+
// #ifdef FOSC_KHZ_VALUE_DEFINED // TODO - return in next NECTO update
1818
Delay_Cyc( ( time_us * getClockValue( FOSC_KHZ_VALUE ) ) - ( getClockValue( FOSC_KHZ_VALUE ) / 2 ) );
19-
#endif
19+
// #endif
2020
}
2121

2222
void __attribute__( ( noinline ) ) Delay_ms( uint32_t Time_ms )
2323
{
24-
#ifdef FOSC_KHZ_VALUE_DEFINED
24+
// #ifdef FOSC_KHZ_VALUE_DEFINED // TODO - return in next NECTO update
2525
Delay_Cyc( Time_ms * 1000ul * getClockValue( FOSC_KHZ_VALUE ) );
26-
#endif
26+
// #endif
2727
}
2828

2929
void __attribute__( ( noinline ) ) Delay_Advanced_ms( uint32_t Time_ms, uint32_t Current_Fosc_kHz )

0 commit comments

Comments
 (0)