[python] Adding mp_hal_input

This commit is contained in:
Romain Goyet
2018-01-29 18:19:38 +01:00
committed by EmilieNumworks
parent 1b6d798eef
commit 651d5715e4
10 changed files with 47 additions and 9 deletions

View File

@@ -79,6 +79,10 @@ void ConsoleController::runAndPrintForCommand(const char * command) {
m_consoleStore.deleteLastLineIfEmpty();
}
const char * ConsoleController::input() {
return "1+1";
}
void ConsoleController::removeExtensionIfAny(char * name) {
int nameLength = strlen(name);
if (nameLength<4) {