This commit is contained in:
Dylan Smith
2026-01-07 14:41:00 -05:00
parent 78e64b09bb
commit 5e118e7639
2 changed files with 5 additions and 0 deletions

View File

@@ -1,4 +1,5 @@
#include "graphics.h"
#include "stm32f4xx_hal_ltdc.h"
__attribute__((section(".sdram")))
volatile Pixel_t framebuffer[DISPLAY_HEIGHT * DISPLAY_WIDTH];
@@ -16,4 +17,5 @@ void DisplayTest(uint16_t color)
framebuffer[(h * DISPLAY_WIDTH) + w] = color;
}
}
}