/* Write a set color to the screen. 
Use this function to write a certain number of pixels to the same color within a set limit. Limits have to be set prior to calling this function, e.g.:  */
void hx8347a_duplicate_pixel(const hx8347a_color_t color, uint32_t count)
/* Write a set color to the screen. 
Use this function to write a certain number of pixels to the same color within a set limit. Limits have to be set prior to calling this function, e.g.:  */
void hx8347a_duplicate_pixel(const hx8347a_color_t color, uint32_t count)
{
	uint32_t transmit_count;
	Assert(count > 0);
	hx8347a_select_register(HX8347A_SRAMWRITE);
	hx8347a_select_chip();
	hx8347a_send_byte(HX8347A_START_WRITEREG);
	transmit_count = count;
	while (transmit_count--) {
		hx8347a_write_packet((uint8_t *)(&color), 2);
	}
	hx8347a_deselect_chip();
}