From 94fb474945791db8fa3c2aa4ea92eaec351ffee0 Mon Sep 17 00:00:00 2001 From: Ta180m Date: Sat, 18 Jan 2020 16:12:12 -0600 Subject: Update Detector_Building.ino --- Detector_Building.ino | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2