We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7898384 commit 67634aaCopy full SHA for 67634aa
MIDAS/src/hilsim/stream/main.cpp
@@ -264,13 +264,14 @@ int main(int argc, char** argv) {
264
case 'r':
265
// r(ealtime) -- streams data to com port in real time
266
{
267
- printf(".BEGIN\n");
268
fflush(stdout);
269
if (!inptr) {
270
std::cerr << "No file specified" << std::endl;
271
break;
272
}
273
+ printf(".BEGIN\n");
274
+
275
if (outptr) {
276
fputs(".KAMAJI_STREAM\n", outptr);
277
fprintf(outptr, ".CHECKSUM %X\n", _inf_checksum);
0 commit comments