Skip to content
Snippets Groups Projects
Commit 0276774d authored by Martin Christoph Hierholzer's avatar Martin Christoph Hierholzer
Browse files

use the DeviceAccess's readNonBlocking() function

parent 8932648a
No related branches found
No related tags found
No related merge requests found
......@@ -41,9 +41,9 @@ namespace ChimeraTK {
}
bool readNonBlocking() {
impl->read(); /// @todo FIXME this is wrong, but otherwise DeviceAccess fails to work properly right now
bool ret = impl->readNonBlocking();
mtca4u::NDRegisterAccessor<UserType>::buffer_2D[0].swap(impl->accessChannel(0));
return true;
return ret;
}
void write() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment