summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rwxr-xr-xcomponents/drivers/Kconfig1
-rw-r--r--components/drivers/misc/rt_drv_pwm.c2
-rw-r--r--components/drivers/usb/usbdevice/class/rndis.c2
-rw-r--r--components/utilities/Kconfig1
4 files changed, 2 insertions, 4 deletions
diff --git a/components/drivers/Kconfig b/components/drivers/Kconfig
index 6b57ff00c3..c2e6d3a411 100755
--- a/components/drivers/Kconfig
+++ b/components/drivers/Kconfig
@@ -125,7 +125,6 @@ config RT_USING_PM
config RT_USING_RTC
bool "Using RTC device drivers"
- select RT_USING_LIBC
default n
if RT_USING_RTC
diff --git a/components/drivers/misc/rt_drv_pwm.c b/components/drivers/misc/rt_drv_pwm.c
index 2b7986b4d8..97d38d51b3 100644
--- a/components/drivers/misc/rt_drv_pwm.c
+++ b/components/drivers/misc/rt_drv_pwm.c
@@ -259,7 +259,7 @@ static int pwm_set(int argc, char **argv)
_exit:
return result;
}
-MSH_CMD_EXPORT(pwm_set, pwm_set 1 100 50);
+MSH_CMD_EXPORT(pwm_set, pwm_set pwm1 1 100 50);
#endif /* FINSH_USING_MSH */
#endif /* RT_USING_FINSH */
diff --git a/components/drivers/usb/usbdevice/class/rndis.c b/components/drivers/usb/usbdevice/class/rndis.c
index ec61234947..93e0ba6ae2 100644
--- a/components/drivers/usb/usbdevice/class/rndis.c
+++ b/components/drivers/usb/usbdevice/class/rndis.c
@@ -421,7 +421,7 @@ static rt_err_t _rndis_query_response(ufunction_t func,rndis_query_msg_t msg)
case OID_GEN_LINK_SPEED:
resp = _create_resp(4);
if(resp == RT_NULL) break;
- _set_resp(resp, func->device->dcd->device_is_hs ? (480UL * 1000 *1000) : (12UL * 1000 * 1000) / 100);
+ _set_resp(resp, (func->device->dcd->device_is_hs ? (480UL * 1000 *1000) : (12UL * 1000 * 1000)) / 100);
break;
case OID_GEN_MEDIA_CONNECT_STATUS:
diff --git a/components/utilities/Kconfig b/components/utilities/Kconfig
index 250239aea6..9a50512989 100644
--- a/components/utilities/Kconfig
+++ b/components/utilities/Kconfig
@@ -146,7 +146,6 @@ config RT_USING_ULOG
config ULOG_TIME_USING_TIMESTAMP
bool "Enable timestamp format for time."
default n
- select RT_USING_LIBC
depends on ULOG_OUTPUT_TIME
config ULOG_OUTPUT_LEVEL