Skip to content

Commit

Permalink
Update ui_button example
Browse files Browse the repository at this point in the history
  • Loading branch information
BernardXiong committed Mar 11, 2014
1 parent c79be01 commit eb55622
Show file tree
Hide file tree
Showing 6 changed files with 27 additions and 493 deletions.
2 changes: 1 addition & 1 deletion software/rtthread_examples/drivers/board.c
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ int rtgui_lcd_init(void)
INIT_DEVICE_EXPORT(rtgui_lcd_init);

#include <rtgui/touch.h>
#include <calibration.h>
#include <rtgui/calibration.h>
#include "drv_touch.h"
/* initialize for touch & calibration */
int touch_calibration_init(void)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,18 @@

void rt_init_thread_entry(void* parameter)
{
/* initialize LCD drv for GUI */
rtgui_lcd_init();
/* initialize GUI system */
rtgui_system_server_init();
/* initialize keyboard */
rt_hw_key_init();
/* initialize touch */
rt_hw_spi_init();
rtgui_touch_hw_init();
/* initialize LCD drv for GUI */
rtgui_lcd_init();

/* initialize GUI system */
rtgui_system_server_init();
/* initialize touch */
touch_calibration_init();

/* create button example */
ui_button();

Expand Down
Loading

0 comments on commit eb55622

Please sign in to comment.