summaryrefslogtreecommitdiffstats
path: root/src/usr/sbeio
diff options
context:
space:
mode:
Diffstat (limited to 'src/usr/sbeio')
-rw-r--r--src/usr/sbeio/sbe_psudd.C4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/usr/sbeio/sbe_psudd.C b/src/usr/sbeio/sbe_psudd.C
index df312ea7a..58a891e26 100644
--- a/src/usr/sbeio/sbe_psudd.C
+++ b/src/usr/sbeio/sbe_psudd.C
@@ -647,8 +647,8 @@ errlHndl_t SbePsu::pollForPsuComplete(TARGETING::Target * i_target,
}
// try later
- task_yield();
- l_elapsed_time_ns += ONE_CTX_SWITCH_NS;
+ nanosleep( 0, 10000 ); //sleep for 10us
+ l_elapsed_time_ns += 10000;
// There will be many polls to check for the complete. If there
// is a problem, then there will be hundreds before timing out
OpenPOWER on IntegriCloud