mirror of
https://github.com/xodio/xod.git
synced 2026-03-14 20:56:52 +01:00
fix(stdlib): remove unnecessary check from console-log implementation, make it compile again
This commit is contained in:
@@ -15,11 +15,10 @@ void evaluate(Context ctx) {
|
||||
}
|
||||
|
||||
auto line = getValue<input_LINE>(ctx);
|
||||
if (line) {
|
||||
for (auto it = line->iterate(); it; ++it)
|
||||
Serial.write((char)*it);
|
||||
Serial.write('\r');
|
||||
Serial.write('\n');
|
||||
Serial.flush();
|
||||
}
|
||||
|
||||
for (auto it = line->iterate(); it; ++it)
|
||||
Serial.write((char)*it);
|
||||
Serial.write('\r');
|
||||
Serial.write('\n');
|
||||
Serial.flush();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user