mirror of
https://github.com/apache/nuttx.git
synced 2026-06-05 15:58:59 +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:
@@ -426,8 +426,8 @@ static int mmcsd_waitready(FAR struct mmcsd_slot_s *slot)
|
||||
{
|
||||
FAR struct spi_dev_s *spi = slot->spi;
|
||||
uint8_t response;
|
||||
systime_t start;
|
||||
systime_t elapsed;
|
||||
clock_t start;
|
||||
clock_t elapsed;
|
||||
|
||||
/* Wait until the card is no longer busy (up to 500MS) */
|
||||
|
||||
@@ -531,8 +531,8 @@ static uint32_t mmcsd_sendcmd(FAR struct mmcsd_slot_s *slot,
|
||||
case MMCSD_CMDRESP_R1B:
|
||||
{
|
||||
uint32_t busy = 0;
|
||||
systime_t start;
|
||||
systime_t elapsed;
|
||||
clock_t start;
|
||||
clock_t elapsed;
|
||||
|
||||
start = START_TIME;
|
||||
do
|
||||
@@ -944,8 +944,8 @@ static int mmcsd_recvblock(FAR struct mmcsd_slot_s *slot, uint8_t *buffer,
|
||||
int nbytes)
|
||||
{
|
||||
FAR struct spi_dev_s *spi = slot->spi;
|
||||
systime_t start;
|
||||
systime_t elapsed;
|
||||
clock_t start;
|
||||
clock_t elapsed;
|
||||
uint8_t token;
|
||||
|
||||
/* Wait up to the maximum to receive a valid data token. taccess is the
|
||||
@@ -1560,8 +1560,8 @@ static int mmcsd_mediainitialize(FAR struct mmcsd_slot_s *slot)
|
||||
FAR struct spi_dev_s *spi = slot->spi;
|
||||
uint8_t csd[16];
|
||||
uint32_t result = MMCSD_SPIR1_IDLESTATE;
|
||||
systime_t start;
|
||||
systime_t elapsed;
|
||||
clock_t start;
|
||||
clock_t elapsed;
|
||||
int i;
|
||||
int j;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user