Merge pull request #937 from SummerGGift/fix_bsp_gd32450z_for_mdk
[BSP] fix bsp/gd32450z-eval for mdk
This commit is contained in:
commit
57efe3c723
|
@ -31,7 +31,7 @@
|
|||
|
||||
#include <rtgui/widgets/window.h>
|
||||
#include <rtgui/dc.h>
|
||||
#include <rtgui/dc_hw.h>
|
||||
//#include <rtgui/dc_hw.h>
|
||||
|
||||
struct rtgui_win *main_win;
|
||||
rt_bool_t dc_event_handler(struct rtgui_object *object, rtgui_event_t *event);
|
||||
|
@ -105,9 +105,8 @@ rt_bool_t dc_event_handler(struct rtgui_object *object, rtgui_event_t *event)
|
|||
rect.x1 += (rect.x2 - rect.x1) / 2;
|
||||
rect.y1 += (rect.y2 - rect.y1) / 2;
|
||||
rtgui_dc_draw_text_stroke(dc, __DATE__"--"__TIME__, &rect, HIGH_LIGHT, BLUE);
|
||||
|
||||
|
||||
rtgui_dc_end_drawing(dc);
|
||||
|
||||
rtgui_dc_end_drawing(dc,RT_TRUE);
|
||||
}
|
||||
return RT_FALSE;
|
||||
}
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -10,7 +10,7 @@
|
|||
<TargetName>rt-thread_gd32f4xx</TargetName>
|
||||
<ToolsetNumber>0x4</ToolsetNumber>
|
||||
<ToolsetName>ARM-ADS</ToolsetName>
|
||||
<pCCUsed>5060422::V5.06 update 4 (build 422)::ARMCC</pCCUsed>
|
||||
<pCCUsed>5060300::V5.06 update 3 (build 300)::ARMCC</pCCUsed>
|
||||
<TargetOption>
|
||||
<TargetCommonOption>
|
||||
<Device>GD32F450ZK</Device>
|
||||
|
|
Loading…
Reference in New Issue