/* Optimised routine to draw a vertical line faster than setting individual pixels.  */
void lcdDrawVLine(uint16_t x, uint16_t y0, uint16_t y1, uint16_t color)
/* Optimised routine to draw a vertical line faster than setting individual pixels.  */
void lcdDrawVLine(uint16_t x, uint16_t y0, uint16_t y1, uint16_t color)
{
  if (y1 < y0)
  {
    uint16_t y;
    y = y1;
    y1 = y0;
    y0 = y;
  }
  if(x >= hx8347dProperties.width)
  {
    x = hx8347dProperties.width-1;
  }
  if(y0 >= hx8347dProperties.height)
  {
    y0 = hx8347dProperties.height-1;
  }
  if(y1 >= hx8347dProperties.height)
  {
    y1 = hx8347dProperties.height-1;
  }
  fillRect(x, y0, x, y1, color);
}