In "devicewindow.cpp", line 349, the value returned by ui->comboBoxFrequency->currentIndex() should be cast to quint8
The value returned by ui->comboBoxFrequency->currentIndex() is an int. However, the variable "spiMode" is of type CP2130::SPIMode, and its "cfrq" element is of type quint8. Therefore, line 349 should be changed to:
spiMode.cfrq = static_cast<quint8>(ui->comboBoxFrequency->currentIndex());
Edited by Samuel Lourenço