Skip to content

Commit f33879a

Browse files
committed
fix epoch value transmission
1 parent 195e167 commit f33879a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

UNOR4USBBridge/cmds_esp_generic.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -377,7 +377,7 @@ void CAtHandler::add_cmds_esp_generic() {
377377

378378
srv.write_response_prompt();
379379
sprintf(epoch,"%d", (unsigned long) now);
380-
srv.write_cstr((const char *) epoch);
380+
srv.write_str((const char *) epoch);
381381
srv.write_line_end();
382382

383383
return chAT::CommandStatus::OK;

0 commit comments

Comments
 (0)