Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
project
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ks6n19
project
Commits
255597e1
Commit
255597e1
authored
4 years ago
by
ks6n19
Browse files
Options
Downloads
Patches
Plain Diff
put coordinates inside while (1)
parent
c184cbce
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
software/code/main.c
+2
-4
2 additions, 4 deletions
software/code/main.c
with
2 additions
and
4 deletions
software/code/main.c
+
2
−
4
View file @
255597e1
...
@@ -71,6 +71,8 @@ void wait_for_any_switch_data(void) {
...
@@ -71,6 +71,8 @@ void wait_for_any_switch_data(void) {
// Anticlockwise ordering of coordinates
// Anticlockwise ordering of coordinates
//////////////////////////////////////////////////////////////////
//////////////////////////////////////////////////////////////////
int
main
(
void
)
{
int
main
(
void
)
{
while
(
1
)
{
int
x1
=
0
;
int
x1
=
0
;
int
y1
=
0
;
int
y1
=
0
;
...
@@ -81,10 +83,6 @@ int main(void) {
...
@@ -81,10 +83,6 @@ int main(void) {
int
x3
=
500
;
int
x3
=
500
;
int
y3
=
70
;
int
y3
=
70
;
while
(
1
)
{
int
L1_detT
;
int
L1_detT
;
int
L2_detT
;
int
L2_detT
;
int
detT
;
int
detT
;
...
...
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