aboutsummaryrefslogtreecommitdiff
path: root/Detector_Building.ino
diff options
context:
space:
mode:
Diffstat (limited to '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