Commit c8720ae4 authored by Gaia Grosso's avatar Gaia Grosso
Browse files

Update functions.c

parent 59d0030d
......@@ -41,7 +41,7 @@ int write_bits(char *device_loc, char *address, unsigned int writeval)
/* open device */
int fd = open(device_loc, O_RDWR | O_SYNC));
if ((fd == -1) {
if (fd == -1) {
FATAL;
return -1;
}
......@@ -81,7 +81,7 @@ int read_bits(char *device_loc, char *address, uint32_t *read_result)
/* open device */
int fd = open(device_loc, O_RDWR | O_SYNC));
if (( fd == -1){
if ( fd == -1){
FATAL;
return -1;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment