1
0
Fork 0
mirror of https://github.com/opentx/opentx.git synced 2025-07-13 19:40:20 +03:00

Bsongis/remove cpu temperature (#6541)

Remove CPU temperature
This commit is contained in:
Bertrand Songis 2019-07-03 17:17:42 +02:00 committed by GitHub
parent 5b139d7b35
commit 093025f444
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 29 additions and 128 deletions

View file

@ -364,11 +364,6 @@ long OpenTxSim::onTimeout(FXObject*, FXSelector, void*)
Coproc_maxtemp = 28;
#endif
#if defined(PCBSKY9X)
temperature = 31;
maxTemperature = 42;
#endif
updateKeysAndSwitches();
#if defined(ROTARY_ENCODER_NAVIGATION)
@ -557,8 +552,6 @@ uint16_t anaIn(uint8_t chan)
#if defined(PCBTARANIS)
else if (chan == TX_INTREF)
return 826; // 3V VDD
else if (chan == TX_TEMPERATURE)
return 520;
else if (chan == TX_RTC_VOLTAGE)
return 800; // 2.34V
#endif