Skip to content

Commit 8b513ca

Browse files
author
Qinghao Shi
authored
Merge pull request #6 from rajkan01/waitapi_remove_deprecated
Remove the deprecated wait API usage
2 parents d92806c + a0c6b92 commit 8b513ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

I2CEEBlockDevice.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ int I2CEEBlockDevice::_sync()
122122
return 0;
123123
}
124124

125-
wait_ms(1);
125+
thread_sleep_for(1);
126126
}
127127

128128
return BD_ERROR_DEVICE_ERROR;

0 commit comments

Comments
 (0)