avr: remove unneeded code.
This commit is contained in:
@@ -206,19 +206,13 @@ appMotionLightReadConfFromEeprom:
|
|||||||
sts appMotionLightSources+APP_MOTIONLIGHT_SOURCE_SIZE+APP_MOTIONLIGHT_SOURCE_OFFS_VALUEID, r19
|
sts appMotionLightSources+APP_MOTIONLIGHT_SOURCE_SIZE+APP_MOTIONLIGHT_SOURCE_OFFS_VALUEID, r19
|
||||||
|
|
||||||
; read brightness source
|
; read brightness source
|
||||||
ldi xl, LOW(EEPROM_OFFS_MAL_CONF_BSRC_ADDR)
|
|
||||||
ldi xh, HIGH(EEPROM_OFFS_MAL_CONF_BSRC_ADDR)
|
|
||||||
rcall Utils_ReadEepromIncr ; (R16)
|
rcall Utils_ReadEepromIncr ; (R16)
|
||||||
sts appMotionLightLSourceAddr, r16
|
sts appMotionLightLSourceAddr, r16
|
||||||
|
|
||||||
ldi xl, LOW(EEPROM_OFFS_MAL_CONF_BSRC_VALUEID)
|
|
||||||
ldi xh, HIGH(EEPROM_OFFS_MAL_CONF_BSRC_VALUEID)
|
|
||||||
rcall Utils_ReadEepromIncr ; (R16)
|
rcall Utils_ReadEepromIncr ; (R16)
|
||||||
sts appMotionLightLSourceValueId, r16
|
sts appMotionLightLSourceValueId, r16
|
||||||
|
|
||||||
; read brightness limit
|
; read brightness limit
|
||||||
ldi xl, LOW(EEPROM_OFFS_MAL_CONF_BSRC_VALUE)
|
|
||||||
ldi xh, HIGH(EEPROM_OFFS_MAL_CONF_BSRC_VALUE)
|
|
||||||
rcall Utils_ReadEepromIncr ; (R16)
|
rcall Utils_ReadEepromIncr ; (R16)
|
||||||
mov r18, r16
|
mov r18, r16
|
||||||
rcall Utils_ReadEepromIncr ; (R16)
|
rcall Utils_ReadEepromIncr ; (R16)
|
||||||
|
|||||||
Reference in New Issue
Block a user