| 519 | void deleteButton(uint8_t command) { sendCommand('D', &command, 1); } |
| 520 | |
| 521 | void addButton(uint8_t command, const char *str) { |
| 522 | args.charText.c = command; |
| 523 | strncpy(args.charText.text, str, VECTOR_DISPLAY_MAX_STRING - 1); |
| 524 | args.charText.text[VECTOR_DISPLAY_MAX_STRING - 1] = 0; |
| 525 | sendCommand('U', &args, 1 + strlen(args.charText.text) + 1); |
| 526 | } |
| 527 | |
| 528 | void addButton(uint8_t command, String str) { addButton(command, str.c_str()); } |
| 529 |
nothing calls this directly
no outgoing calls
no test coverage detected