Skip to content

Commit 73c22c1

Browse files
committed
minor changes to main and ini file
1 parent 171471d commit 73c22c1

File tree

2 files changed

+11
-9
lines changed

2 files changed

+11
-9
lines changed

pio_workspace/platformio.ini

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ build_flags =
2626
lib_deps =
2727
${env.lib_deps}
2828
#upload_protocol = teensy-cli
29-
#upload_port = /dev/actuator
29+
upload_port = /dev/actuator
3030

3131
[env:display]
3232
platform = teensy
@@ -36,9 +36,11 @@ build_flags =
3636
-D DISPLAY_H
3737
${env.build_flags}
3838
lib_deps =
39+
Wire
40+
https://github.com/bluerobotics/BlueRobotics_MS5837_Library
3941
${env.lib_deps}
4042
#upload_protocol = teensy-cli
41-
#upload_port = /dev/display
43+
upload_port = /dev/display
4244

4345
[env:power]
4446
platform = teensy
@@ -50,4 +52,4 @@ build_flags =
5052
lib_deps =
5153
${env.lib_deps}
5254
#upload_protocol = teensy-cli
53-
#upload_port = /dev/power
55+
upload_port = /dev/power

pio_workspace/src/main.cpp

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,20 +10,20 @@
1010

1111
void setup() {
1212
#ifdef ACTUATOR_H
13-
actuator_setup();
13+
actuator_setup();
1414
#elif DISPLAY_H
15-
display_setup();
15+
display_setup();
1616
#elif POWER_H
17-
power_setup();
17+
power_setup();
1818
#endif
1919
}
2020

2121
void loop() {
2222
#ifdef ACTUATOR_H
23-
actuator_loop();
23+
actuator_loop();
2424
#elif DISPLAY_H
25-
display_loop();
25+
display_loop();
2626
#elif POWER_H
27-
power_loop();
27+
power_loop();
2828
#endif
2929
}

0 commit comments

Comments
 (0)