Skip to content

Commit

Permalink
Changed lightning signal names
Browse files Browse the repository at this point in the history
  • Loading branch information
matthias-bs committed Jun 6, 2024
1 parent 2761f6d commit 4c1d1a7
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions extras/confighelper/confighelper.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
// 20240530 Added BLE sensor configuration
// Removed unused onchange="toggleInput(id, this.checked)" properties
// 20240531 Fixed getLightningconfig()
// 20240606 Changed lightning signal names
//
// ToDo:
// -
Expand Down Expand Up @@ -296,7 +297,7 @@
if (checkbox.checked) {
result |= 0x10;
size += 3;
configDecoder.signals.push("'lgt_distance_km'");
configDecoder.signals.push("'lgt_storm_dist_km'");
configDecoder.signals.push("'lgt_strike_count'");
configDecoder.types.push('uint8');
configDecoder.types.push('uint16');
Expand All @@ -305,9 +306,9 @@
if (checkbox.checked) {
result |= 0x20;
size += 7;
configDecoder.signals.push("'lgt_time'");
configDecoder.signals.push("'lgt_events'");
configDecoder.signals.push("'lgt_distance_km'");
configDecoder.signals.push("'lgt_ev_time'");
configDecoder.signals.push("'lgt_ev_events'");
configDecoder.signals.push("'lgt_ev_dist_km'");
configDecoder.types.push('unixtime');
configDecoder.types.push('uint16');
configDecoder.types.push('uint8');
Expand Down

0 comments on commit 4c1d1a7

Please sign in to comment.