projects
/
allwinner_tvout_manipulator.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0c771d5
)
Use reference in testdriver
author
Daniel Giritzer
<daniel@giritzer.eu>
Fri, 2 Jun 2017 19:07:37 +0000
(21:07 +0200)
committer
Daniel Giritzer
<daniel@giritzer.eu>
Fri, 2 Jun 2017 19:07:37 +0000
(21:07 +0200)
src/main.c
patch
|
blob
|
history
diff --git
a/src/main.c
b/src/main.c
index
d8441d7
..
089aad9
100644
(file)
--- a/
src/main.c
+++ b/
src/main.c
@@
-4,9
+4,9
@@
int main()
{
- unsigned long
*
readfrommemory = 0;
+ unsigned long readfrommemory = 0;
- readmem("0x01E00130", 'w', readfrommemory);
+ readmem("0x01E00130", 'w',
&
readfrommemory);
printf("Value: 0x%X \n", (unsigned int)readfrommemory);
return 0;