mainly built-fixes.

This commit is contained in:
Martin Preuss
2025-01-01 19:33:32 +01:00
parent a7adf15bf6
commit a3d5b33105
71 changed files with 3093 additions and 90 deletions

View File

@@ -58,6 +58,11 @@
; ---------------------------------------------------------------------------
; defines for modules
.equ VALUE_ID_CO2 = 0x07
.equ VALUE_ID_TVOC = 0x08
.equ VALUE_ID_DEBUG = 0x7f
;.equ VALUE_ID_SI7021_TEMP = 0x01
;.equ VALUE_ID_SI7021_HUM = 0x02

View File

@@ -209,12 +209,12 @@ systemSetSpeed:
systemSetBootSpeed:
.if clock == 8000000
;.if clock == 8000000
ldi r16, (1<<CLKPCE)
ldi r17, (1<<CLKPS1) | (1<<CLKPS0)
out CLKPR, r16
out CLKPR, r17
.endif
;.endif
ret