提交 645357a0 编写于 作者: B bernard.xiong

remove update GUI demo building script.


git-svn-id: https://rt-thread.googlecode.com/svn/trunk@716 bbd45198-f89e-11dd-88c7-29a3b14d5316
上级 72139e84
......@@ -16,7 +16,7 @@
#include <dfs_posix.h>
#include "string.h"
#ifdef RT_USING_FINSH
#if defined(RT_USING_FINSH) && defined(RT_USING_MODULE)
#include <finsh.h>
static char buffer[4096];
......
......@@ -148,7 +148,7 @@ rt_bool_t today_workbench_event_handler(rtgui_widget_t *widget, rtgui_event_t *e
{
struct rtgui_event_mouse* emouse = (struct rtgui_event_mouse*)event;
//if (emouse->button == RTGUI_MOUSE_BUTTON_UP | RTGUI_MOUSE_BUTTON_LEFT)
if(0)
if(0)
{
/* active home view */
if (workbench->current_view != home_view)
......@@ -192,7 +192,7 @@ static void today_entry(void* parameter)
/* add function view */
rtgui_widget_get_rect(RTGUI_WIDGET(workbench), &rect);
function_view = (struct rtgui_view*)rtgui_list_view_create(function_list,
sizeof(function_list)/sizeof(struct rtgui_list_item), &rect);
sizeof(function_list)/sizeof(struct rtgui_list_item), &rect, RTGUI_LIST_VIEW_LIST);
rtgui_workbench_add_view(workbench, function_view);
rtgui_workbench_event_loop(workbench);
......
......@@ -255,7 +255,7 @@ static void rt_touch_handler(int irqno)
}
/* clear interrupt */
INTPND |= (rt_uint32_t)(1 << INTADC);
INTPND |= (1ul << INTADC);
}
/* RT-Thread Device Interface */
......@@ -279,7 +279,7 @@ static rt_err_t rtgui_touch_init (rt_device_t dev)
rt_hw_interrupt_umask(INTADC);
/* clear interrupt */
INTPND |= (rt_uint32_t)(1 << INTADC);
INTPND |= (1ul << INTADC);
SUBSRCPND |= BIT_SUB_TC;
SUBSRCPND |= BIT_SUB_ADC;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册