Skip to content

Commit

Permalink
misc: remove unneeded check for defined(PC_HOSTED)
Browse files Browse the repository at this point in the history
  • Loading branch information
elagil authored and dragonmux committed Nov 29, 2023
1 parent 7cf0e40 commit 89c055f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/target/adiv5.c
Original file line number Diff line number Diff line change
Expand Up @@ -476,7 +476,7 @@ static uint32_t cortexm_initial_halt(adiv5_access_port_s *ap)
*/
static bool cortexm_prepare(adiv5_access_port_s *ap)
{
#if (defined(PC_HOSTED) && PC_HOSTED == 1) || ENABLE_DEBUG == 1
#if PC_HOSTED == 1 || ENABLE_DEBUG == 1
uint32_t start_time = platform_time_ms();
#endif
uint32_t dhcsr = cortexm_initial_halt(ap);
Expand Down

0 comments on commit 89c055f

Please sign in to comment.