mirror of
https://github.com/Fishwaldo/bl_mcu_sdk.git
synced 2025-07-22 20:59:03 +00:00
[refactor] delete unused flag noun in device_register
This commit is contained in:
parent
66635f84f7
commit
50d130075c
74 changed files with 201 additions and 11419 deletions
|
@ -41,7 +41,7 @@ int main(void)
|
|||
timer_user_cfg2.timeout_val = 1000 * 1000; /* us */
|
||||
timer_user_cfg2.comp_it = TIMER_COMP2_IT;
|
||||
|
||||
timer_register(TIMER_CH1_INDEX, "timer_ch1", DEVICE_OFLAG_RDWR);
|
||||
timer_register(TIMER_CH1_INDEX, "timer_ch1");
|
||||
|
||||
struct device *timer_ch1 = device_find("timer_ch1");
|
||||
|
||||
|
|
|
@ -50,7 +50,7 @@ int main(void)
|
|||
timer_user_cfg.timeout_val = 1000 * 1000; /* us */
|
||||
timer_user_cfg.comp_it = TIMER_COMP0_IT;
|
||||
|
||||
timer_register(TIMER_CH0_INDEX, "timer_ch0", DEVICE_OFLAG_RDWR);
|
||||
timer_register(TIMER_CH0_INDEX, "timer_ch0");
|
||||
|
||||
timer_ch0 = device_find("timer_ch0");
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue