Skip to content

Commit 56d16f3

Browse files
danielinuxdgarske
authored andcommitted
psoc6 hal: removed dead code
1 parent b6c38a8 commit 56d16f3

1 file changed

Lines changed: 0 additions & 15 deletions

File tree

hal/psoc6.c

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -45,21 +45,6 @@ uint8_t psoc6_write_buffer[ROW_SIZE];
4545
#endif
4646

4747
#ifdef __WOLFBOOT
48-
/* Replace Cy_SysLib_DelayUs with a custom call that does not use SysTick
49-
* (required by Cy_SysClk_PllEnable)
50-
*/
51-
52-
#if 0
53-
void Cy_SysLib_DelayUs(uint16_t delay_us)
54-
{
55-
volatile unsigned int i;
56-
uint32_t cycles = ((CPU_FREQ / 1000000)) * delay_us;
57-
for (i = 0; i < cycles; i++) {
58-
asm volatile("nop");
59-
}
60-
}
61-
#endif
62-
6348
static const cy_stc_pll_manual_config_t srss_0_clock_0_pll_0_pllConfig =
6449
{
6550
.feedbackDiv = 100,

0 commit comments

Comments
 (0)