clean up logging, fix bad function args in es3sec

This commit is contained in:
2023-03-21 23:47:06 -04:00
parent cfde84b00b
commit aad6f5a922
7 changed files with 54 additions and 29 deletions

View File

@ -36,10 +36,10 @@ static DWORD CALLBACK ferrum_pre_startup(void)
serial_hook_init();
struct dongle_info dinfo;
dinfo.vid = 2970;
dinfo.pid = 3088;
wcscpy_s(dinfo.manufacturer, _countof(L"BM"), L"BM");
wcscpy_s(dinfo.product, _countof(L"RUDI04GBN-274713"), L"RUDI04GBN-274713");
dinfo.vid = 0x0B9A;
dinfo.pid = 0x0C10;
wcscpy_s(dinfo.manufacturer, _countof(dinfo.manufacturer), L"BM");
wcscpy_s(dinfo.product, _countof(dinfo.product), L"RUDI04GBN-274713");
hr = platform_hook_init(&ferrum_hook_cfg.platform, PLATFORM_ES3, ferrum_jvs_init, ferrum_hook_mod, dinfo);