fix STM32 running error - printf is root cause

refactor c_surface_mcu
This commit is contained in:
idea4good
2019-01-10 19:06:57 +08:00
parent c796a4b286
commit 60c3e82110
4 changed files with 25 additions and 27 deletions

View File

@@ -614,3 +614,9 @@ void c_surface_mcu::set_pixel(int x, int y, unsigned int rgb)
{//Not support
ASSERT(FALSE);
}
void c_surface_mcu::set_surface(void* wnd_root, Z_ORDER_LEVEL max_z_order)
{
m_usr = wnd_root;
m_max_zorder = max_z_order;
}