Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions bsp/fujitsu/mb9x/mb9bf500r/key.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ static void key_io_init(void)
static void key_thread_entry(void *parameter)
{
#ifdef RT_USING_RTGUI
rt_time_t next_delay;
rt_tick_t next_delay;
rt_uint8_t i;

struct rtgui_event_kbd kbd_event;
Expand Down Expand Up @@ -106,7 +106,7 @@ static void key_thread_entry(void *parameter)
}
#else
extern struct rt_messagequeue mq;
rt_time_t next_delay;
rt_tick_t next_delay;
struct lcd_msg msg;
msg.type = KEY_MSG;

Expand Down
1 change: 0 additions & 1 deletion include/rttypes.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,6 @@ typedef rt_ubase_t rt_uintptr_t; /**< Type for unsigned
#endif /* defined(RT_USING_LIBC) && !defined(RT_USING_NANO) */

typedef rt_base_t rt_err_t; /**< Type for error number */
typedef rt_uint32_t rt_time_t; /**< Type for time stamp */
typedef rt_uint32_t rt_tick_t; /**< Type for tick count */
typedef rt_base_t rt_flag_t; /**< Type for flags */
typedef rt_ubase_t rt_dev_t; /**< Type for device */
Expand Down
2 changes: 1 addition & 1 deletion libcpu/arm/s3c24x0/rtc.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ static rt_err_t rtc_control(rt_device_t dev, int cmd, void *args)
case RT_DEVICE_CTRL_RTC_GET_TIME:
/* read device */
rt_hw_rtc_get(&tmp);
*((rt_time_t *)args) = timegm(&tmp);
*time = timegm(&tmp);
break;

case RT_DEVICE_CTRL_RTC_SET_TIME:
Expand Down
Loading