mirror of https://github.com/arendst/Tasmota.git
Added special char to some values (#18145)
This commit is contained in:
parent
d25ef165b9
commit
f87cd7859a
|
@ -711,7 +711,7 @@ unsigned char TInfo::calcChecksum(char *etiquette, char *valeur, char * horodate
|
|||
while(*valeur) {
|
||||
c = *valeur++ ;
|
||||
// Add another validity check since checksum may not be sufficient (space authorized in Standard mode)
|
||||
if ( (c>='A' && c<='Z') || (c>='0' && c<='9') || c==' ' || c=='.' || c=='-' || c=='+') {
|
||||
if ( (c>='A' && c<='Z') || (c>='0' && c<='9') || c==' ' || c=='.' || c=='-' || c=='+' || c=='/') {
|
||||
sum += c ;
|
||||
} else {
|
||||
return 0;
|
||||
|
|
Loading…
Reference in New Issue