Skip to content
Snippets Groups Projects
Select Git revision
  • 7f9d1d6ab923096582622b700bedb6a571518eac
  • wip-bootstrap default
  • dualcore
  • ch3/leds
  • ch3/time
  • master
6 results

modesp.c

Blame
  • bootloader-display.c 625 B
    #include "bootloader.h"
    
    #include "GUI_Paint.h"
    #include "display.h"
    
    /*
     * Initialize the display.
     */
    void bootloader_display_init(void)
    {
    	;
    }
    
    /*
     * Show the bootloader version on the display.
     */
    void bootloader_display_header(void)
    {
    	Paint_Clear(0x0000);
    	Paint_DrawString_EN(0, 16 * 0, "Bootloader", &Font16, 0x0000, 0xffff);
    	Paint_DrawString_EN(0, 16 * 1, __DATE__, &Font16, 0x0000, 0xffff);
    	LCD_Update();
    }
    
    /*
     * Display a line of text on the display.
     */
    void bootloader_display_line(int line, char *string, uint16_t color)
    {
    	Paint_DrawString_EN(0, 16 * line, string, &Font16, 0x0000, color);
    	LCD_Update();
    }