PaulStoffregen 10 年之前
父節點
當前提交
00d45085e6
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      teensy3/pins_teensy.c

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

#if defined(KINETISL) && F_CPU == 48000000 #if defined(KINETISL) && F_CPU == 48000000
return count * 1000 + ((current * (uint32_t)87381) >> 22); return count * 1000 + ((current * (uint32_t)87381) >> 22);
#elif defined(KINETISL) && F_CPU == 24000000 #elif defined(KINETISL) && F_CPU == 24000000
return count * 1000 + ((current * (uint32_t)174763) >> 23);
return count * 1000 + ((current * (uint32_t)174763) >> 21);
#endif #endif
return count * 1000 + current / (F_CPU / 1000000); return count * 1000 + current / (F_CPU / 1000000);
} }

Loading…
取消
儲存