TFTP
- Change to lcd_draw_bmp_img - Add moc for this function
This commit is contained in:
@@ -144,8 +144,8 @@ 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((uint8_t*)"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);
|
||||||
//lcd_draw_bmp_img((uint8_t*)virt_file[1].data, 0, 0);
|
lcd_draw_bmp_img((uint8_t*)virt_file[1].data, 0, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (handle == &virt_file[2]) {
|
if (handle == &virt_file[2]) {
|
||||||
|
|||||||
@@ -24,4 +24,8 @@ void lcd_display_text(uint8_t* text, uint16_t x_pos, uint16_t y_pos, uint32_t co
|
|||||||
|
|
||||||
void lcd_clear(uint32_t color) {
|
void lcd_clear(uint32_t color) {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
void lcd_draw_bmp_img(uint8_t* bmp_buff, uint32_t x_pos, uint32_t y_pos) {
|
||||||
|
|
||||||
}
|
}
|
||||||
@@ -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_draw_bmp_img(uint8_t* bmp_buff, uint32_t x_pos, uint32_t y_pos);
|
||||||
void lcd_clear(uint32_t color);
|
void lcd_clear(uint32_t color);
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
|||||||
Reference in New Issue
Block a user