com2wn: only trigger led if LED_ACTIVITY is defined.

This commit is contained in:
Martin Preuss
2025-09-06 00:41:17 +02:00
parent 808a7c4258
commit 6c1e8a45ff

View File

@@ -120,9 +120,11 @@ com2wnReadNextBit_end:
; @clobbers r16, r17, r18, X
com2wnByteRecvd:
#ifdef MODULES_LED_ACTIVITY
push r16
rcall LedActivity_Trigger
pop r16
#endif
ldd xl, Y+COM2W_IFACE_OFFS_BUFPOS_LOW
ldd xh, Y+COM2W_IFACE_OFFS_BUFPOS_HIGH
ldd r17, Y+COM2W_IFACE_OFFS_BUFLEFT