diff options
Diffstat (limited to 'source/Concept/Framework/modules/interpreter/command_handler.c')
-rw-r--r-- | source/Concept/Framework/modules/interpreter/command_handler.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/Concept/Framework/modules/interpreter/command_handler.c b/source/Concept/Framework/modules/interpreter/command_handler.c index dcd97b2..7d8937b 100644 --- a/source/Concept/Framework/modules/interpreter/command_handler.c +++ b/source/Concept/Framework/modules/interpreter/command_handler.c @@ -26,7 +26,7 @@ void Command_Handler::Update() {
if(this->currentCommandLength < COMMAND_BUFFER_SIZE)
{
- this->buffer[this->currentCommandLength] = '0' + curInput;
+ this->buffer[this->currentCommandLength] = curInput;
this->currentCommandLength++;
}
}
@@ -38,7 +38,7 @@ void Command_Handler::Update() //-----------------------------------------------------------------------------
void Command_Handler::ExecuteCommand()
{
- if(this->buffer[0] == '5')
+ if(this->buffer[0] == 5)
{
this->displayDistanceSensors = true;
}
|