PaulStoffregen 9 년 전
부모
커밋
00d45085e6
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. +1
    -1
      teensy3/pins_teensy.c

+ 1
- 1
teensy3/pins_teensy.c 파일 보기

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

Loading…
취소
저장