Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
A
Ainigma
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Werner Sembach
Ainigma
Commits
7510fc52
Commit
7510fc52
authored
7 years ago
by
Werner Sembach
Browse files
Options
Downloads
Patches
Plain Diff
Cleanup
parent
b33e1116
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
main.c
+3
-5
3 additions, 5 deletions
main.c
with
3 additions
and
5 deletions
main.c
+
3
−
5
View file @
7510fc52
...
...
@@ -37,6 +37,7 @@ void main_thread(cyg_addrword_t arg) {
the structs have have to be sorted ascending by threshold
*/
//riddle 1
/*
struct spring riddle1[3];
...
...
@@ -67,6 +68,7 @@ void main_thread(cyg_addrword_t arg) {
}
}
*/
//riddle2
/*
...
...
@@ -145,6 +147,7 @@ void main_thread(cyg_addrword_t arg) {
printf("FileOpen worked, YAY\n")
}
*/
int
levers
[
4
];
while
(
true
)
{
//check if solved
...
...
@@ -161,12 +164,7 @@ void main_thread(cyg_addrword_t arg) {
get_all_levers
(
levers
);
//ezs_printf("Leverz: 0: %d, 1: %d, 2: %d, 3: %d\n", levers[0], levers[1], levers[2], levers[3]);
//if (levers[1] == levers[2]) levers_solved = true;
}
}
void
cyg_user_start
(
void
)
{
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment