pcal9535a: remove unused function _wait_10ms
Change-Id: Ib89ec98279895f1d25c4232bed6caf3a1ad83b2b Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
78a566d3b8
commit
81ed24413e
1 changed files with 0 additions and 12 deletions
|
@ -80,18 +80,6 @@ static inline int _has_i2c_master(struct device *dev)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
#define WAIT_10MS (sys_clock_ticks_per_sec / 100)
|
|
||||||
/**
|
|
||||||
* @brief Simply to wait 10ms.
|
|
||||||
*
|
|
||||||
* @param timer nano_timer
|
|
||||||
*/
|
|
||||||
static inline void _wait_10ms(struct nano_timer *timer)
|
|
||||||
{
|
|
||||||
nano_fiber_timer_start(timer, WAIT_10MS);
|
|
||||||
nano_fiber_timer_wait(timer);
|
|
||||||
}
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Read both port 0 and port 1 registers of certain register function.
|
* @brief Read both port 0 and port 1 registers of certain register function.
|
||||||
*
|
*
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue