Skip to content

Commit

Permalink
remove unused code in bootloader
Browse files Browse the repository at this point in the history
  • Loading branch information
conorpp committed Feb 13, 2020
1 parent e713dab commit 15a4fdf
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions targets/stm32l432/src/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -146,12 +146,14 @@ void device_set_clock_rate(DEVICE_CLOCK_RATE param)
case DEVICE_LOW_POWER_IDLE:
SET_CLOCK_RATE0();
break;
#if !defined(IS_BOOTLOADER)
case DEVICE_LOW_POWER_FAST:
SET_CLOCK_RATE1();
break;
case DEVICE_FAST:
SET_CLOCK_RATE2();
break;
#endif
}
}

Expand Down

0 comments on commit 15a4fdf

Please sign in to comment.