Skip to content

Commit ec3b434

Browse files
committed
Merge branch 'master' of https://github.com/RT-Thread/rt-thread into renhaibo-branch
2 parents aafed7b + 97b7661 commit ec3b434

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

components/drivers/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,6 @@ config RT_USING_PM
125125

126126
config RT_USING_RTC
127127
bool "Using RTC device drivers"
128-
select RT_USING_LIBC
129128
default n
130129

131130
if RT_USING_RTC

components/drivers/usb/usbdevice/class/rndis.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -421,7 +421,7 @@ static rt_err_t _rndis_query_response(ufunction_t func,rndis_query_msg_t msg)
421421
case OID_GEN_LINK_SPEED:
422422
resp = _create_resp(4);
423423
if(resp == RT_NULL) break;
424-
_set_resp(resp, func->device->dcd->device_is_hs ? (480UL * 1000 *1000) : (12UL * 1000 * 1000) / 100);
424+
_set_resp(resp, (func->device->dcd->device_is_hs ? (480UL * 1000 *1000) : (12UL * 1000 * 1000)) / 100);
425425
break;
426426

427427
case OID_GEN_MEDIA_CONNECT_STATUS:

components/utilities/Kconfig

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,6 @@ config RT_USING_ULOG
146146
config ULOG_TIME_USING_TIMESTAMP
147147
bool "Enable timestamp format for time."
148148
default n
149-
select RT_USING_LIBC
150149
depends on ULOG_OUTPUT_TIME
151150

152151
config ULOG_OUTPUT_LEVEL

src/thread.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -107,11 +107,11 @@ void rt_thread_exit(void)
107107
rt_list_insert_after(&rt_thread_defunct, &(thread->tlist));
108108
}
109109

110-
/* enable interrupt */
111-
rt_hw_interrupt_enable(level);
112-
113110
/* switch to next task */
114111
rt_schedule();
112+
113+
/* enable interrupt */
114+
rt_hw_interrupt_enable(level);
115115
}
116116

117117
static rt_err_t _rt_thread_init(struct rt_thread *thread,

0 commit comments

Comments
 (0)