aboutsummaryrefslogtreecommitdiffstats
path: root/klippy/extras/ads1220.py
diff options
context:
space:
mode:
Diffstat (limited to 'klippy/extras/ads1220.py')
-rw-r--r--klippy/extras/ads1220.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/klippy/extras/ads1220.py b/klippy/extras/ads1220.py
index fba74181..14d47581 100644
--- a/klippy/extras/ads1220.py
+++ b/klippy/extras/ads1220.py
@@ -69,9 +69,9 @@ class ADS1220():
self.printer, self._process_batch, self._start_measurements,
self._finish_measurements, UPDATE_INTERVAL)
# publish raw samples to the socket
+ hdr = {'header': ('time', 'counts', 'value')}
self.batch_bulk.add_mux_endpoint("ads1220/dump_ads1220", "sensor",
- self.name,
- {'header': ('time', 'counts')})
+ self.name, hdr)
# Command Configuration
mcu.add_config_cmd(
"config_ads1220 oid=%d spi_oid=%d data_ready_pin=%s"