Skip to content

Commit

Permalink
formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
AlkaMotors committed Nov 5, 2023
1 parent 6f5a73a commit 9a364b7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Src/functions.c
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@
//}

long map(long x, long in_min, long in_max, long out_min, long out_max) {
if(x >= in_max)
return out_max;
if(x >= in_max)
return out_max;
if (in_min > in_max)
return map(x, in_max, in_min, out_max, out_min);
if (out_min == out_max)
Expand Down

0 comments on commit 9a364b7

Please sign in to comment.