The goal of this PR is to reduce the amount of compile flags we need to run the code on a computer. To achieve this, I have added one flag called DESKTOP_COMPAT. If set, anything that can't run on a desktop should be disabled.
At the same time, I also moved the log file location. When running with ./run.sh, the log files will appear under the rocket-code-2020/sensor-data folder. This is fine when developing, only thing is we could look at changing it in the systemd file on the Pi. Maybe put it under /var/log/rocket-data?
The goal of this PR is to reduce the amount of compile flags we need to run the code on a computer. To achieve this, I have added one flag called
DESKTOP_COMPAT
. If set, anything that can't run on a desktop should be disabled.At the same time, I also moved the log file location. When running with
./run.sh
, the log files will appear under therocket-code-2020/sensor-data
folder. This is fine when developing, only thing is we could look at changing it in the systemd file on the Pi. Maybe put it under/var/log/rocket-data
?