payload.cpp: bugfix monitormode in config status
This commit is contained in:
parent
07991515ea
commit
e8c5b1b478
@ -29,7 +29,7 @@ description = Paxcounter is a proof-of-concept ESP32 device for metering passeng
|
||||
|
||||
[common]
|
||||
; for release_version use max. 10 chars total, use any decimal format like "a.b.c"
|
||||
release_version = 1.6.53
|
||||
release_version = 1.6.54
|
||||
; DEBUG LEVEL: For production run set to 0, otherwise device will leak RAM while running!
|
||||
; 0=None, 1=Error, 2=Warn, 3=Info, 4=Debug, 5=Verbose
|
||||
debug_level = 0
|
||||
|
@ -48,6 +48,7 @@ void PayloadConvert::addConfig(configData_t value) {
|
||||
buffer[cursor++] = value.vendorfilter;
|
||||
buffer[cursor++] = value.rgblum;
|
||||
buffer[cursor++] = value.gpsmode;
|
||||
buffer[cursor++] = value.monitormode;
|
||||
memcpy(buffer + cursor, value.version, 10);
|
||||
cursor += 10;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user