Refactored Project Structure for use with emulator

This commit is contained in:
t-moe
2015-04-03 12:02:33 +02:00
commit 51089aaba1
16 changed files with 336 additions and 0 deletions

13
common/tft/tft.c Normal file
View File

@@ -0,0 +1,13 @@
#include "tft.h"
#include "ll_tft.h"
bool tft_init() {
return ll_tft_init();
}
void tft_draw_line(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color) {
ll_tft_draw_line(x1,y1,x2,y2,color);
}

5
common/tft/tft.h Normal file
View File

@@ -0,0 +1,5 @@
#include<stdbool.h>
#include<stdint.h>
bool tft_init();
void tft_draw_line(uint16_t x1, uint16_t y1, uint16_t x2, uint16_t y2, uint16_t color);