Skip to content
Snippets Groups Projects
Commit 362cd40a authored by Bernardo Carvalho's avatar Bernardo Carvalho
Browse files

Deleted 'rogue' code line'

parent 0dc9b2c0
No related branches found
No related tags found
No related merge requests found
...@@ -128,9 +128,8 @@ namespace atca ...@@ -128,9 +128,8 @@ namespace atca
if (deviceDmaHandle == -1){ if (deviceDmaHandle == -1){
::close(deviceHandle); ::close(deviceHandle);
#ifdef DEBUG #ifdef DEBUG
fprintf(stderr, "Error Openning DMA Device name = %s\n", devname); fprintf(stderr, "Error Openning DMA Device name = %s\n", devname);
#endif #endif
deviceHandle = ::open(devname, O_RDWR | O_SYNC);
return EXIT_FAILURE; return EXIT_FAILURE;
} }
mapBase = (uint8_t *) ::mmap(0, MAPSIZE, PROT_READ | PROT_WRITE, MAP_SHARED, deviceHandle, 0); mapBase = (uint8_t *) ::mmap(0, MAPSIZE, PROT_READ | PROT_WRITE, MAP_SHARED, deviceHandle, 0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment