Skip to content

Commit a0c6b92

Browse files
committed
Remove the deprecated wait API usage
1 parent d92806c commit a0c6b92

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)