mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 01:07:21 +00:00
use __rt_ffs instead of ffs
This commit is contained in:
@@ -493,7 +493,7 @@ rt_uint32_t mmcsd_select_voltage(struct rt_mmcsd_host *host, rt_uint32_t ocr)
|
||||
|
||||
ocr &= host->valid_ocr;
|
||||
|
||||
bit = ffs(ocr);
|
||||
bit = __rt_ffs(ocr);
|
||||
if (bit)
|
||||
{
|
||||
bit -= 1;
|
||||
|
||||
Reference in New Issue
Block a user