瀏覽代碼

fix warning (-wmisleading indentation) (GCC6)

main
Frank 8 年之前
父節點
當前提交
5ec35efdac
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      teensy3/mk20dx128.c

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

if (SMC_PMSTAT == SMC_PMSTAT_RUN) { if (SMC_PMSTAT == SMC_PMSTAT_RUN) {
// Turn HSRUN mode on // Turn HSRUN mode on
SMC_PMCTRL = SMC_PMCTRL_RUNM(3); 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 // Then configure clock for full speed
#if F_CPU == 240000000 && F_BUS == 60000000 #if F_CPU == 240000000 && F_BUS == 60000000
SIM_CLKDIV1 = SIM_CLKDIV1_OUTDIVS(0, 3, 0, 7); SIM_CLKDIV1 = SIM_CLKDIV1_OUTDIVS(0, 3, 0, 7);

Loading…
取消
儲存