Merge pull request #2 from WolfgangGitHub/main

Fix writing CV_1 - The default case was missing - Thank you Wolfgang
This commit is contained in:
Gabriel Koppenstein authored and GitHub committed 2023-01-11 22:28:15 +01:00
commit a57295817e
1 file changed
+2
+2
View File
@@ -132,6 +132,8 @@ void write_cv_handler(uint16_t cv_index, uint8_t cv_data){
case 0: //CV_1
// CV_1 => Value = 0 is not allowed
if (cv_data == 0 || cv_data > 127) break;
else regular_cv_write(cv_index,cv_data);
break;
case 6: //CV_7
// Read only (CV_7 - Version no.)
// ADC offset Adjustment (CV_7; Value = 7);