getting compilation error in ugui. c file
filename: ugui.c line number: 5291 API: _UG_PutChar
void _UG_PutChar( char chr, UG_S16 x, UG_S16 y, UG_COLOR fc, UG_COLOR bc, const UG_FONT* font) {
/* Is hardware acceleration available? / if ( gui->driver[DRIVER_FILL_AREA].state & DRIVER_ENABLED ) { void(push_pixel)(UG_COLOR); //(void()(UG_COLOR)) push_pixel = ((void(*)(UG_S16, UG_S16, UG_S16, UG_S16))gui->driver[DRIVER_FILL_AREA].driver)(x,y,x+actual_char_width-1,y+font->char_height-1);
if (font->font_type == FONT_TYPE_1BPP)
{
}
i am getting below error at the at this code ( push_pixel = ((void*(*)(UG_S16, UG_S16, UG_S16, UG_S16))gui->driver[DRIVER_FILL_AREA].driver)(x,y,x+actual_char_width-1,y+font->char_height-1);)
Could you please assist me?
Error[Pe513]: a value of type "void " cannot be assigned to an entity of type "void ()(UG_U16)"
please post your xxx.c file which contain _bbbbb function. note the bbbb is the word you used in line below: UG_DriverRegister( DRIVER_FILL_AREA, (void*) _bbbbb);