Skip to content

Commit

Permalink
fix buildng error
Browse files Browse the repository at this point in the history
  • Loading branch information
ayushev committed Jul 27, 2021
1 parent f5cab86 commit d771928
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions pal/COMPONENT_PSOC6_FREERTOS/COMPONENT_CM4/pal.c
Expand Up @@ -55,14 +55,13 @@ extern pal_gpio_t optiga_rst_0;
pal_status_t pal_init(void)
{
pal_os_event_init();
#ifdef OPTIGA_TRUSTM_VDD
#ifdef OPTIGA_TRUSTM_VDD
pal_gpio_init(&optiga_vdd_0);
#endif
#endif

#ifdef OPTIGA_TRUSTM_RST
#ifdef OPTIGA_TRUSTM_RST
pal_gpio_init(&optiga_rst_0);
#endif
pal_timer_init();
#endif
return PAL_STATUS_SUCCESS;
}

Expand Down

0 comments on commit d771928

Please sign in to comment.