mirror of
https://github.com/apache/nuttx.git
synced 2026-05-28 03:45:50 +08:00
Elimate use of the non-standard type systime_t and replace it the equivalent, standard type clock_t
Squashed commit of the following:
sched: Rename all use of system_t to clock_t.
syscall: Rename all use of system_t to clock_t.
net: Rename all use of system_t to clock_t.
libs: Rename all use of system_t to clock_t.
fs: Rename all use of system_t to clock_t.
drivers: Rename all use of system_t to clock_t.
arch: Rename all use of system_t to clock_t.
include: Remove definition of systime_t; rename all use of system_t to clock_t.
This commit is contained in:
@@ -745,9 +745,9 @@ static void enc_wrbreg(FAR struct enc_driver_s *priv, uint8_t ctrlreg,
|
||||
static int enc_waitbreg(FAR struct enc_driver_s *priv, uint8_t ctrlreg,
|
||||
uint8_t bits, uint8_t value)
|
||||
{
|
||||
systime_t start = clock_systimer();
|
||||
systime_t elapsed;
|
||||
uint8_t rddata;
|
||||
clock_t start = clock_systimer();
|
||||
clock_t elapsed;
|
||||
uint8_t rddata;
|
||||
|
||||
/* Loop until the exit condition is met */
|
||||
|
||||
|
||||
Reference in New Issue
Block a user