Skip to content

Commit d315350

Browse files
committed
Remove broken interrupt code
I'm not sure where it came from, but it was breaking stuff. Removed on request of Tanishq.
1 parent 0b09f70 commit d315350

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

lib/Command_Interpreter.cpp

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -175,7 +175,6 @@ void Command_Interpreter_RPi5::blind_execute(const CommandComponent &commandComp
175175

176176
currentTime = std::chrono::system_clock::now();
177177
}
178-
isInterruptBlind_Execute = false;
179178
}
180179

181180
void Command_Interpreter_RPi5::untimed_execute(pwm_array thrusterPwms) {

lib/Command_Interpreter.h

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,9 +194,6 @@ class Command_Interpreter_RPi5 {
194194
/// @return A vector containing the current value of all pins. PWM pins will return a value in the range [1100, 1900]
195195
std::vector<int> readPins();
196196

197-
/// @brief Set an interrupt for the blind_execute function while running. Calling this function sets the interrupt to occur.
198-
void interruptBlind_Execute() {isInterruptBlind_Execute = true;}
199-
200197
~Command_Interpreter_RPi5(); //TODO this also deletes all its pins. Not sure if this is desirable or not?
201198
};
202199

0 commit comments

Comments
 (0)