remove update GUI demo building script.
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@716 bbd45198-f89e-11dd-88c7-29a3b14d5316
This commit is contained in:
parent
72139e8441
commit
645357a05a
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue