From daf3475704c37539d4c3417f813f83e6317d2ab3 Mon Sep 17 00:00:00 2001 From: Starbeamrainbowlabs Date: Thu, 13 Jun 2019 14:47:40 +0100 Subject: [PATCH] It compiles, but I'm not sure it works..... --- iot/main/main.ino | 2 ++ 1 file changed, 2 insertions(+) diff --git a/iot/main/main.ino b/iot/main/main.ino index f5f9ae6..7223915 100644 --- a/iot/main/main.ino +++ b/iot/main/main.ino @@ -3,6 +3,8 @@ #include "settings.h" #include "random.h" +// BAD PRACTICE: For some extremely strange reason, the Arduino IDE doesn't pick up random.cpp like it does our other source files - so we've got to explicitly include it here. If we had control over the build process (which we don't), we've use a Makefile here that handled this better. +#include "random.cpp" #include "gps.h"