浏览代码

Merge pull request #214 from FrankBoesing/patch-5

fix warning (-wmisleading indentation) (GCC6)
main
Paul Stoffregen 7 年前
父节点
当前提交
7ce33effbb
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      teensy3/mk20dx128.c

+ 1
- 1
teensy3/mk20dx128.c 查看文件

@@ -1297,7 +1297,7 @@ int kinetis_hsrun_enable(void)
if (SMC_PMSTAT == SMC_PMSTAT_RUN) {
// Turn HSRUN mode on
SMC_PMCTRL = SMC_PMCTRL_RUNM(3);
while (SMC_PMSTAT != SMC_PMSTAT_HSRUN) ; // wait
while (SMC_PMSTAT != SMC_PMSTAT_HSRUN) {;} // wait
// Then configure clock for full speed
#if F_CPU == 240000000 && F_BUS == 60000000
SIM_CLKDIV1 = SIM_CLKDIV1_OUTDIVS(0, 3, 0, 7);

正在加载...
取消
保存