File tree Expand file tree Collapse file tree 1 file changed +3
-5
lines changed
Expand file tree Collapse file tree 1 file changed +3
-5
lines changed Original file line number Diff line number Diff line change @@ -151,12 +151,10 @@ int main(int argc, char** argv) {
151151 {
152152 char sbuf[128 ];
153153 scanf (" %s" , &sbuf);
154- printf (" SERIAL %s" , sbuf);
155154
156155 char serial_open_err = Serial.openDevice (sbuf, 115200 );
157156 if (serial_open_err != 1 ) return wrap_err (serial_open_err);
158- printf (" Successful connection to %s\n " , sbuf);
159-
157+ printf (" SERIAL OK\n " , sbuf);
160158 fflush (stdout);
161159 }
162160 break ;
@@ -187,7 +185,7 @@ int main(int argc, char** argv) {
187185 fread (&checksum, sizeof (uint32_t ), 1 , inptr);
188186 // memcpy(&checksum, buf, sizeof(uint32_t));
189187
190- printf (" Read checksum: 0x %x\n " , checksum);
188+ printf (" .CHECKSUM %x\n " , checksum);
191189
192190 fflush (stdout);
193191 break ;
@@ -261,7 +259,7 @@ int main(int argc, char** argv) {
261259 }
262260
263261 }
264- printf (" Done streaming! \n " );
262+ printf (" .DONE \n " );
265263
266264 // while (true) {
267265 // while(cur_entry_time == 0 || millis > (cur_entry_time - first_entry_time)) {
You can’t perform that action at this time.
0 commit comments