add O_SYNC flag for UioMapper
This commit is contained in:
parent
7a392dc33a
commit
7966ede11b
@ -36,7 +36,7 @@ UioMapper::~UioMapper() {}
|
||||
|
||||
ReturnValue_t UioMapper::getMappedAdress(uint32_t** address, Permissions permissions) {
|
||||
ReturnValue_t result = returnvalue::OK;
|
||||
int fd = open(uioFile.c_str(), O_RDWR);
|
||||
int fd = open(uioFile.c_str(), O_RDWR | O_SYNC);
|
||||
if (fd < 1) {
|
||||
#if FSFW_CPP_OSTREAM_ENABLED == 1
|
||||
sif::error << "UioMapper::getMappedAdress: Invalid UIO device file " << uioFile << std::endl;
|
||||
|
Loading…
Reference in New Issue
Block a user