Quantcast
Channel: Reprap Forum - Firmware - Marlin
Viewing all articles
Browse latest Browse all 12089

Thermistor warring message during compile.

$
0
0
Since I'm using a 3950 for the Bed thermistor I was wondering how important the following "warning" message is?

File is "thermistortables.h"

#if (THERMISTORHEATER_0 == 13) || (THERMISTORHEATER_1 == 13) || (THERMISTORHEATER_2 == 13) || (THERMISTORHEATER_3 == 13) || (THERMISTORBED == 13)
// Hisens thermistor B25/50 =3950 +/-1%

const short temptable_13[][2] PROGMEM = {
{ 20.04 * OVERSAMPLENR, 300 },
{ 23.19 * OVERSAMPLENR, 290 },
{ 26.71 * OVERSAMPLENR, 280 },
{ 31.23 * OVERSAMPLENR, 270 },
{ 36.52 * OVERSAMPLENR, 260 },
{ 42.75 * OVERSAMPLENR, 250 },
{ 50.68 * OVERSAMPLENR, 240 },
{ 60.22 * OVERSAMPLENR, 230 },
{ 72.03 * OVERSAMPLENR, 220 },
{ 86.84 * OVERSAMPLENR, 210 },
{ 102.79 * OVERSAMPLENR, 200 },
{ 124.46 * OVERSAMPLENR, 190 },
{ 151.02 * OVERSAMPLENR, 180 },
{ 182.86 * OVERSAMPLENR, 170 },
{ 220.72 * OVERSAMPLENR, 160 },
{ 316.96 * OVERSAMPLENR, 140 },
{ 447.17 * OVERSAMPLENR, 120 },
{ 590.61 * OVERSAMPLENR, 100 },
{ 737.31 * OVERSAMPLENR, 80 },
{ 857.77 * OVERSAMPLENR, 60 },
{ 939.52 * OVERSAMPLENR, 40 },
{ 986.03 * OVERSAMPLENR, 20 },
{ 1008.7 * OVERSAMPLENR, 0}
}; Warring narrowing conversion of '3.20640015e+2' from 'double' to 'const short int' inside{} is ill-formed in C++[-Wnarrowing] at line 674 col 1.

#endif

Viewing all articles
Browse latest Browse all 12089

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>