소스 검색

Cosmetic tweaks from dev

Scott Lahteine 8 년 전
부모
커밋
988332c67a
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1
    1
      Marlin/scripts/createTemperatureLookupMarlin.py

+ 1
- 1
Marlin/scripts/createTemperatureLookupMarlin.py 파일 보기

@@ -26,7 +26,7 @@ import getopt
26 26
 ZERO   = 273.15                             # zero point of Kelvin scale
27 27
 VADC   = 5                                  # ADC voltage
28 28
 VCC    = 5                                  # supply voltage
29
-ARES   = 2**10                              # 10 Bit ADC resolution
29
+ARES   = pow(2,10)                          # 10 Bit ADC resolution
30 30
 VSTEP  = VADC / ARES                        # ADC voltage resolution
31 31
 TMIN   = 0                                  # lowest temperature in table
32 32
 TMAX   = 350                                # highest temperature in table

Loading…
취소
저장