TFTP
Update mocs, header and fix an error
This commit is contained in:
@@ -144,7 +144,7 @@ void tftp_close(void* handle) {
|
|||||||
if (handle == &virt_file[1]) {
|
if (handle == &virt_file[1]) {
|
||||||
// TODO: waiting on pr of tim to merge so we can use the bmp lcd function
|
// TODO: waiting on pr of tim to merge so we can use the bmp lcd function
|
||||||
lcd_clear(LCD_COLOR_BLACK);
|
lcd_clear(LCD_COLOR_BLACK);
|
||||||
lcd_display_text("show me what you got virtImage.raw", 0, 0, LCD_COLOR_BLACK, LCD_COLOR_WHITE, LCD_FONT16);
|
lcd_display_text((uint8_t*)"show me what you got virtImage.raw", 0, 0, LCD_COLOR_BLACK, LCD_COLOR_WHITE, LCD_FONT16);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (handle == &virt_file[2]) {
|
if (handle == &virt_file[2]) {
|
||||||
|
|||||||
@@ -21,3 +21,7 @@ int tftp_init(struct tftp_context* context) {
|
|||||||
void lcd_display_text(uint8_t* text, uint16_t x_pos, uint16_t y_pos, uint32_t color, uint32_t bg_color, sFONT *font) {
|
void lcd_display_text(uint8_t* text, uint16_t x_pos, uint16_t y_pos, uint32_t color, uint32_t bg_color, sFONT *font) {
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void lcd_clear(uint32_t color) {
|
||||||
|
|
||||||
|
}
|
||||||
@@ -37,6 +37,7 @@ void tftp_cleanup(void);
|
|||||||
uint32_t logger_get_timestamp(void);
|
uint32_t logger_get_timestamp(void);
|
||||||
int tftp_init(struct tftp_context* context);
|
int tftp_init(struct tftp_context* context);
|
||||||
void lcd_display_text(uint8_t* text, uint16_t x_pos, uint16_t y_pos, uint32_t color, uint32_t bg_color, sFONT *font);
|
void lcd_display_text(uint8_t* text, uint16_t x_pos, uint16_t y_pos, uint32_t color, uint32_t bg_color, sFONT *font);
|
||||||
|
void lcd_clear(uint32_t color);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user