示例#1
0
int16_t parse_cmd_mcuf_show_clock(char *cmd, char *output, uint16_t len)
{
  (void) output;
  (void) len;
  uint16_t buffer;
  uint8_t ret = sscanf_P (cmd, PSTR ("%u\n"), &buffer);
  if (ret != 1)
    buffer = 3;

  mcuf_show_clock(buffer);
  return ECMD_FINAL_OK;
}
示例#2
0
void
mcuf_clock(void)
{
  mcuf_show_clock(1);
}