libs/epaper/src/epaper.c
/**
 *  @brief: A primitive to send a single byte of data to ePaper
 */
@brief: A primitive to send a single byte of data to ePaper
@brief : A primitive to send a single byte of data to ePaper
static int mgos_epd_send_data(const uint8_t data_byte)
{
	const uint8_t data = data_byte;
	mgos_gpio_write( _dc_pin, 1);
	return mgos_epd_write_spi(&data, 1);
}
static int mgos_epd_send_data ( const uint8_t data_byte ) { const uint8_t data = data_byte ; mgos_gpio_write ( _dc_pin , 1 ) ; return mgos_epd_write_spi ( & data , 1 ) ; }
@brief: A primitive to send a single byte of data to ePaper
@brief : A primitive to send a single byte of data to ePaper