File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -436,13 +436,13 @@ def channel_680nm(self) -> int:
436
436
@property
437
437
def channel_clear (self ) -> int :
438
438
"""The current reading for the clear sensor"""
439
- self ._all_channels
439
+ _ = self ._all_channels
440
440
return self ._channel_4_data
441
441
442
442
@property
443
443
def channel_nir (self ) -> int :
444
444
"""The current reading for the NIR (near-IR) sensor"""
445
- self ._all_channels
445
+ _ = self ._all_channels
446
446
return self ._channel_5_data
447
447
448
448
def _wait_for_data (self , timeout : float = 1.0 ) -> None :
@@ -465,7 +465,7 @@ def _configure_f1_f4(self) -> None:
465
465
"""Configure the sensor to read from elements F1-F4, Clear, and NIR"""
466
466
# disable SP_EN bit while making config changes
467
467
if self ._low_channels_configured :
468
- self ._all_channels
468
+ _ = self ._all_channels
469
469
return
470
470
self ._high_channels_configured = False
471
471
self ._flicker_detection_1k_configured = False
@@ -489,7 +489,7 @@ def _configure_f5_f8(self) -> None:
489
489
"""Configure the sensor to read from elements F5-F8, Clear, and NIR"""
490
490
# disable SP_EN bit while making config changes
491
491
if self ._high_channels_configured :
492
- self ._all_channels
492
+ _ = self ._all_channels
493
493
return
494
494
495
495
self ._low_channels_configured = False
You can’t perform that action at this time.
0 commit comments