Skip to content

Commit

Permalink
Fix default command include path.
Browse files Browse the repository at this point in the history
Fixes #135
  • Loading branch information
sciencewhiz committed Jan 27, 2019
1 parent 3f23366 commit 6b4e237
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/export/cpp/Subsystem-includes.cpp
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
#set($subsystem = $helper.getByName($subsystem-name, $robot))
#set($default_command = $subsystem.getProperty("Default Command").getValue())
#if($default_command != "None")\#include "../Commands/#class($default_command).h"
#if($default_command != "None")\#include "Commands/#class($default_command).h"
#end
2 changes: 2 additions & 0 deletions src/main/resources/export/cpp/files.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -261,6 +261,7 @@
output: ${exporter-path}PIDSubsystem-output.cpp
constants: ${exporter-path}Subsystem-constants.cpp
cmdpidgetters: ${exporter-path}Subsystem-pidgetters.cpp
includes: ${exporter-path}Subsystem-includes.cpp
variables:
subsystem-name: ${subsystem.name}
- !File
Expand All @@ -282,6 +283,7 @@
default_command: ${exporter-path}Subsystem-default_command.cpp
constants: ${exporter-path}Subsystem-constants.cpp
cmdpidgetters: ${exporter-path}Subsystem-pidgetters.cpp
includes: ${exporter-path}Subsystem-includes.cpp
variables:
subsystem-name: ${subsystem.name}
- !File
Expand Down

0 comments on commit 6b4e237

Please sign in to comment.