File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -90,13 +90,15 @@ RUN sed -i 's|//#define ICM|#define ICM|g' /root/Arduino/libraries/SparkFun_9DoF
9090# echo "compiler.cxx.extra_flags=-MMD -g3" >> /root/.arduino15/packages/SparkFun/hardware/apollo3/2.2.1/platform.local.txt
9191
9292# Disable Power Loss Protection
93- RUN cd ./OpenLog_Artemis \
94- && sed -i 's|#define noPowerLossProtection|//#define noPowerLossProtection|g' OpenLog_Artemis.ino
93+ # Uncomment to disable power loss protection
94+ # RUN cd ./OpenLog_Artemis \
95+ # && sed -i 's|#define noPowerLossProtection|//#define noPowerLossProtection|g' OpenLog_Artemis.ino
9596
9697# X04 Hardware
97- RUN cd ./OpenLog_Artemis \
98- && sed -i 's|#define HARDWARE_VERSION_MAJOR 1|#define HARDWARE_VERSION_MAJOR 0|g' OpenLog_Artemis.ino \
99- && sed -i 's|#define HARDWARE_VERSION_MINOR 0|#define HARDWARE_VERSION_MINOR 4|g' OpenLog_Artemis.ino
98+ # Uncomment to compile for the original X04 SparkX OLA
99+ # RUN cd ./OpenLog_Artemis \
100+ # && sed -i 's|#define HARDWARE_VERSION_MAJOR 1|#define HARDWARE_VERSION_MAJOR 0|g' OpenLog_Artemis.ino \
101+ # && sed -i 's|#define HARDWARE_VERSION_MINOR 0|#define HARDWARE_VERSION_MINOR 4|g' OpenLog_Artemis.ino
100102
101103# Compile
102104RUN cd ./OpenLog_Artemis \
You can’t perform that action at this time.
0 commit comments