File tree Expand file tree Collapse file tree 1 file changed +0
-14
lines changed
tests/drivers/counter/counter_basic_api/src Expand file tree Collapse file tree 1 file changed +0
-14
lines changed Original file line number Diff line number Diff line change 77#include <drivers/counter.h>
88#include <ztest.h>
99#include <kernel.h>
10- #ifdef CONFIG_SOC_FAMILY_NRF
11- #include <drivers/clock_control/nrf_clock_control.h>
12- #include <clock_control.h>
13- #endif
1410
1511static volatile u32_t top_cnt ;
1612static volatile u32_t alarm_cnt ;
@@ -82,16 +78,6 @@ typedef void (*counter_test_func_t)(const char *dev_name);
8278
8379static void counter_setup_instance (const char * dev_name )
8480{
85- #ifdef CONFIG_SOC_FAMILY_NRF
86- struct device * clock =
87- device_get_binding (DT_INST_0_NORDIC_NRF_CLOCK_LABEL "_32K" );
88-
89- __ASSERT_NO_MSG (clock );
90-
91- while (clock_control_on (clock , (void * )CLOCK_CONTROL_NRF_K32SRC ) != 0 ) {
92- /* empty */
93- }
94- #endif
9581 alarm_cnt = 0U ;
9682}
9783
You can’t perform that action at this time.
0 commit comments