Firmware/src/display/display_functions.c
uint16_t display_draw_string_cur(char *s, uint8_t font_size, uint8_t flags)
{
  uint16_t length = display_draw_string(s, display_cursor_text_x, display_cursor_text_y, font_size, flags);
  display_cursor_text_x+= length;
  if ((flags & LCD_NEW_LINE_FLAG) != 0)
  {
    display_cursor_text_y+= font_size;
    display_cursor_text_x = 0;
  }
    
  return length;
}
//Draw text at current cursor position
//String end is 0x00 char
Draw text at current cursor position
String end is 0x00 char
Draw text at current cursor position String end is 0x00 char
uint16_t display_draw_string_cur(char *s, uint8_t font_size, uint8_t flags)
{
  uint16_t length = display_draw_string(s, display_cursor_text_x, display_cursor_text_y, font_size, flags);
  display_cursor_text_x+= length;
  if ((flags & LCD_NEW_LINE_FLAG) != 0)
  {
    display_cursor_text_y+= font_size;
    display_cursor_text_x = 0;
  }
  return length;
}
uint16_t display_draw_string_cur ( char * s , uint8_t font_size , uint8_t flags ) { uint16_t length = display_draw_string ( s , display_cursor_text_x , display_cursor_text_y , font_size , flags ) ; display_cursor_text_x += length ; if ( ( flags & LCD_NEW_LINE_FLAG ) != 0 ) { display_cursor_text_y += font_size ; display_cursor_text_x = 0 ; } return length ; }
Draw text at current cursor position
String end is 0x00 char
Draw text at current cursor position String end is 0x00 char