aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTa180m2020-01-18 16:12:12 -0600
committerGitHub2020-01-18 16:12:12 -0600
commit94fb474945791db8fa3c2aa4ea92eaec351ffee0 (patch)
tree3c8406cbd5674f0eb4cddf3deee7bea91e1caaa1
parented8aa11bbdad8ec182c728a5438fb5affc70ccb5 (diff)
Update Detector_Building.ino
-rw-r--r--Detector_Building.ino2
1 files changed, 1 insertions, 1 deletions
diff --git a/Detector_Building.ino b/Detector_Building.ino
index e9e71f1..c3c6af4 100644
--- a/Detector_Building.ino
+++ b/Detector_Building.ino
@@ -32,7 +32,7 @@ inline int d2a(double d) { return d * analog_max / V_in; }
// Utility functions
// No C++ standard library :(
-void sort(int& a[], int n) {
+void sort(double a[], int n) {
// Bubble sort
// Slow but n < 30 so OK
// Too lazy to implement a fast sort