switch upper and lower for rand_float

pull/264/head
alanbjohnston 3 years ago committed by GitHub
parent 69ca808e8a
commit a3822a8ff3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -80,7 +80,7 @@ char call[] = "AMSAT"; // put your callsign here
extern bool get_camera_image(bool debug);
extern bool start_camera();
float rand_float(float upper, float lower) {
float rand_float(float lower, float upper) {
return (float)(random(upper*100, lower*100)/100.0);
}

Loading…
Cancel
Save

Powered by TurnKey Linux.