From 2ca246deca4da2777d4068f6008119dcfadea212 Mon Sep 17 00:00:00 2001 From: Martin Preuss Date: Tue, 20 May 2025 21:32:53 +0200 Subject: [PATCH] removed ili9341WriteColorTable --- avr/modules/lcd2/ili9341/main.asm | 35 ------------------------------- 1 file changed, 35 deletions(-) diff --git a/avr/modules/lcd2/ili9341/main.asm b/avr/modules/lcd2/ili9341/main.asm index 950ec9a..8f04ab3 100644 --- a/avr/modules/lcd2/ili9341/main.asm +++ b/avr/modules/lcd2/ili9341/main.asm @@ -518,41 +518,6 @@ ili9341Test5: -ili9341WriteColorTable: - rcall ili9341BeginSpi ; (R16, R17) - ldi r16, ILI9341_CMD_COLORSET - rcall ili9341SendCommand - - ldi r17, 32 ; send R00-R31 - clr r18 - ldi r19, 2 - rcall ili9341WriteColorTable_loop - - ldi r17, 64 ; send G00-G63 - clr r18 - ldi r19, 1 - rcall ili9341WriteColorTable_loop - - ldi r17, 32 ; send B00-B31 - clr r18 - ldi r19, 2 - rcall ili9341WriteColorTable_loop - - rcall ili9341EndSpi - ret - -ili9341WriteColorTable_loop: - mov r16, r18 - rcall ili9341SendData - add r18, r19 - dec r17 - brne ili9341WriteColorTable_loop - ret -; @end - - - - ili9341InitCommands: ; display off .db 0x28, 0