Skip to content

Commit

Permalink
Merge pull request #156 from badgeteam/renze/infoseparator
Browse files Browse the repository at this point in the history
Change separator in INFO command
  • Loading branch information
Pwuts authored Apr 14, 2023
2 parents fb21725 + 99240e3 commit 9df0e24
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main/webusb.c
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ void webusb_process_packet(webusb_packet_header_t* header, uint8_t* payload) {
case WEBUSB_CMD_INFO:
{
const esp_app_desc_t* app_description = esp_ota_get_app_description();
sprintf((char*) payload, "%s %s", app_description->project_name, app_description->version);
sprintf((char*) payload, "%s\n%s", app_description->project_name, app_description->version);
webusb_response_header_t response = {.magic = webusb_packet_magic,
.identifier = header->identifier,
.response = header->command,
Expand Down

0 comments on commit 9df0e24

Please sign in to comment.