Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
U
urv-core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
3
Issues
3
List
Board
Labels
Milestones
Merge Requests
2
Merge Requests
2
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
urv-core
Commits
b6c952af
Commit
b6c952af
authored
Mar 19, 2019
by
Tristan Gingold
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
main.c: get rid of warnings.
parent
180ec3e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
4 deletions
+6
-4
main.c
sw/main.c
+6
-4
No files found.
sw/main.c
View file @
b6c952af
...
...
@@ -2,10 +2,12 @@ char dupa[64];
const
char
*
hello
=
"Hello, world"
;
volatile
int
*
TX_REG
=
0x100000
;
main
()
volatile
int
*
TX_REG
=
(
volatile
int
*
)
0x100000
;
void
main
(
void
)
{
char
*
s
=
hello
;
c
onst
c
har
*
s
=
hello
;
while
(
*
s
)
{
*
TX_REG
=
*
s
++
;
}
for
(;;);
}
\ No newline at end of file
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment