Commit 2f00c430 authored by Gaia Grosso's avatar Gaia Grosso
Browse files

Update functions.c

parent 24a2faf0
......@@ -64,11 +64,6 @@ void write_bits(char *device_loc, char *address, unsigned int writeval)
/* swap 32-bit endianess if host is not little-endian */
writeval = htoll(writeval);
*((uint32_t *) virt_addr) = writeval;
#if 0
read_result = *((uint32_t *) virt_addr);
printf("Written 0x%08x; readback 0x%08x\n", writeval, read_result);
#endif
fflush(stdout);
};
......
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