Skip to content
Snippets Groups Projects
Commit 255597e1 authored by ks6n19's avatar ks6n19
Browse files

put coordinates inside while (1)

parent c184cbce
No related branches found
No related tags found
No related merge requests found
...@@ -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 ;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment