ftdiJtagMPSSE,ftdipp_mpsse: fix verbose level -> must be an int8_t not uint8_t

This commit is contained in:
Gwenhael Goavec-Merou
2022-01-19 18:42:15 +01:00
parent 5f35867f23
commit 1ab454359f
4 changed files with 5 additions and 5 deletions
+1 -1
View File
@@ -27,7 +27,7 @@ using namespace std;
do { if (_verbose) fprintf(stdout, __VA_ARGS__);}while(0)
FTDIpp_MPSSE::FTDIpp_MPSSE(const mpsse_bit_config &cable, const string &dev,
const std::string &serial, uint32_t clkHZ, uint8_t verbose):
const std::string &serial, uint32_t clkHZ, int8_t verbose):
_verbose(verbose > 1), _cable(cable), _vid(0),
_pid(0), _bus(-1), _addr(-1),
_interface(cable.interface),