Beispiel #1
0
static void print_title(void)
{
	PRINTF(_GETTEXT(VSPROG_VERSION LOG_LINE_END VSPROG_COPYRIGHT LOG_LINE_END));
	PRINTF(_GETTEXT(LOG_LINE_END));
	PRINTF(_GETTEXT("URL: http://www.SimonQian.com/en/Versaloon"LOG_LINE_END));
	PRINTF(_GETTEXT("mail: [email protected]" LOG_LINE_END LOG_LINE_END));
}
Beispiel #2
0
static vsf_err_t versaloon_libusb_comm_display_all(void)
{
    // usb parameter
    if (!usb_param_valid())
    {
        usb_set_param(VERSALOON_VID, VERSALOON_PID, VERSALOON_INP,
                      VERSALOON_OUTP, 1);
    }

    PRINTF(_GETTEXT("Supported Programmer by Versaloon driver:\n"));
    return print_usb_devices(usb_param_vid(), usb_param_pid(),
                             VERSALOON_SERIALSTRING_INDEX, usb_param_serial(),
                             VERSALOON_PRODUCTSTRING_INDEX, VERSALOON_PRODUCTSTRING);
}