ftdipp_mpsse: add method to access vid and pid

This commit is contained in:
Gwenhael Goavec-Merou 2019-09-28 15:38:57 +02:00
parent 2f3fd12476
commit fd661c5e6f
1 changed files with 2 additions and 0 deletions

View File

@ -20,6 +20,8 @@ class FTDIpp_MPSSE {
int setClkFreq(uint32_t clkHZ);
int setClkFreq(uint32_t clkHZ, char use_divide_by_5);
int vid() {return _vid;}
int pid() {return _pid;}
protected:
void open_device(unsigned int vid, unsigned int pid,