Init is no longer in crt0.s

This commit is contained in:
Fabrizio Caruso
2019-10-09 09:23:57 +02:00
committed by Oliver Schmidt
parent 7706ea2f13
commit fb260ef17f
3 changed files with 10 additions and 6 deletions

View File

@@ -60,8 +60,15 @@ void display_char(const unsigned char x, const unsigned char y, const unsigned c
}
}
void init_lcd(void)
{
SV_LCD.width = 160;
SV_LCD.height = 160;
}
int main()
{
{
init_lcd();
clear_screen();
display_char(3,2, h_char);