Skip to content

adding test onlys as workarounds #2879

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Sep 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -681,7 +681,7 @@ void make_triangle(uint16_t x1, uint16_t y1, uint16_t side_1, uint16_t side_2,ui
}

int analog_map(int x, int minMap, int maxMap) {
int z = analogRead(x);
long unsigned int z = analogRead(x);
z = map(z, 0, 1023, minMap, maxMap);
return z;
}
Expand Down Expand Up @@ -726,7 +726,7 @@ void draw_gradient(int x, int y, int w, int h) {
}
}

void millisDelay(int delayTime){
int start_time = millis();
void millisDelay(long unsigned int delayTime){
long unsigned int start_time = millis();
while ( millis() - start_time < delayTime) ;
}
Empty file.
Loading