Merge pull request #2 from WolfgangGitHub/main
Fix writing CV_1 - The default case was missing - Thank you Wolfgang
This commit is contained in:
1 file changed
+2
@@ -132,6 +132,8 @@ void write_cv_handler(uint16_t cv_index, uint8_t cv_data){
|
|||||||
case 0: //CV_1
|
case 0: //CV_1
|
||||||
// CV_1 => Value = 0 is not allowed
|
// CV_1 => Value = 0 is not allowed
|
||||||
if (cv_data == 0 || cv_data > 127) break;
|
if (cv_data == 0 || cv_data > 127) break;
|
||||||
|
else regular_cv_write(cv_index,cv_data);
|
||||||
|
break;
|
||||||
case 6: //CV_7
|
case 6: //CV_7
|
||||||
// Read only (CV_7 - Version no.)
|
// Read only (CV_7 - Version no.)
|
||||||
// ADC offset Adjustment (CV_7; Value = 7);
|
// ADC offset Adjustment (CV_7; Value = 7);
|
||||||
|
|||||||
Reference in new issue
Block a user