avr: use 16bit for brightness (actually, ADC only presents 10 bit).

This commit is contained in:
Martin Preuss
2025-08-19 23:03:43 +02:00
parent fc073696f8
commit 6bb499740d
2 changed files with 5 additions and 9 deletions

View File

@@ -16,8 +16,6 @@
Brightness_Send:
rcall Brightness_GetValue
brcc Brightness_Send_end
mov r18, r16
clr r19
ldi r20, 1
clr r21
ldi r17, VALUE_ID_BRIGHTNESS ; VALUE ID