sgp30: measure every second, increases accuracy.

This commit is contained in:
Martin Preuss
2025-06-23 19:28:20 +02:00
parent 8bfaabcf27
commit 78fec171f9

View File

@@ -157,10 +157,22 @@ sgp30CheckPresence:
; ---------------------------------------------------------------------------
; @routine SGP30_EverySecond
;
;
; @return CFLAG set if okay, clear on error
; @clobbers R16, R17, R18, R19, R20, R21, R22
SGP30_EverySecond:
rjmp SGP30_Measure ; (R16, R17, R18, R19, R20, R21, R22)
; @end
; ---------------------------------------------------------------------------
; @routine SGP30_Measure
;
; Expects interrupts being disabled!
;
; @return CFLAG set if okay, clear on error
; @clobbers R16, R17, R18, R19, R20, R21, R22