Switched to getopt for parsing cmd parameters, preparations for 1.1 release
[allwinner_tvout_manipulator.git] / src / tests / devmem2_test.c
index b6c0626..14f149b 100644 (file)
@@ -16,10 +16,10 @@ int main()
     unsigned long readfrommemory = 0;
 
     //Testing writemem
-    writemem("0x01E00130", "0x10140025", 'w');
+    writemem(0x01E00130, 0x10140025, 'w');
 
     //Testing readmem
-    readmem("0x01E00130", 'w', &readfrommemory);
+    readmem(0x01E00130, 'w', &readfrommemory);
 
     //Print read value to stdout
     printf("Value: 0x%X \n", (unsigned int)readfrommemory);