#include "graphics.h"

#include "stm32h7xx_hal.h"
#include "tx_api.h"

#include "hx8357d.h"
#include "main.h"

void graphics_thread_entry(ULONG _) {
  HX8357D_Init();
  HX8357D_Mode_RGB666();

  while (1) {
    HAL_GPIO_TogglePin(STATUS2_GPIO_Port, STATUS2_Pin);
    tx_thread_sleep(100);
  }
}