Skip to content

Commit

Permalink
Update main.c
Browse files Browse the repository at this point in the history
  • Loading branch information
losehu authored Jun 15, 2024
1 parent b7da6e2 commit c835dcd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion ui/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -895,17 +895,20 @@ else
char mdc1200_contact[14];
center_line = CENTER_LINE_MDC1200;
uint8_t print_col = 0;
#ifdef ENABLE_MDC1200_CONTACT
if (mdc1200_contact_find(mdc1200_unit_id, mdc1200_contact))//
{

memcpy(String, mdc1200_contact, 14);
String[14] = 0;
print_col = 29;
} else {
#endif
sprintf(String, "ID %04X", mdc1200_unit_id);
print_col = 40;
#ifdef ENABLE_MDC1200_CONTACT
}

#endif
//#ifdef ENABLE_MDC1200_SHOW_OP_ARG
// sprintf(String, "MDC1200 %02X %02X %04X", mdc1200_op, mdc1200_arg, mdc1200_unit_id);
//#else
Expand Down

0 comments on commit c835dcd

Please sign in to comment.