fixed memory leak coused wrong initialization

This commit is contained in:
prelude0000
2019-09-01 19:24:10 +00:00
parent 6eaf9c5c45
commit 28eb7e1f1b

View File

@@ -42,5 +42,5 @@ volatile uint8 ds18b20_dscrc_table[] = {
87, 9,235,181, 54,104,138,212,149,203, 41,119,244,170, 72, 22,
233,183, 85, 11,136,214, 52,106, 43,117,151,201, 74, 20,246,168,
116, 42,200,150, 21, 75,169,247,182,232, 10, 84,215,137,107, 53};
char EXT_Temperature_string[1 + 8*2 + 1 + 7 + 1] = "\x05Empty";
char EXT_Temperature_string[1 + 8*2 + 1 + 7 + 1] = { 25, '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', '0', ':', '-', '9', '9', '9', '.', '9', '9', 0 };
float EXT_Temperatures[ds18b20_MAX_DEVICES];