tested release compilation

This commit is contained in:
2025-02-06 16:31:18 +03:00
parent 6eb0662f69
commit c06c89003a
9 changed files with 54 additions and 39 deletions

View File

@@ -275,7 +275,6 @@ errcodes cu_mcuvdd(uint8_t par, int32_t *val){
errcodes cu_microsteps(uint8_t _U_ par, int32_t _U_ *val){
uint8_t n; CHECKN(n, par);
USB_sendstr("===> val="); printi(*val); newline();
if(ISSETTER(par)){
#if MICROSTEPSMAX > 512
#error "Change the code anywhere!"
@@ -443,7 +442,7 @@ errcodes cu_usartstatus(uint8_t _U_ par, int32_t _U_ *val){
// V*10
errcodes cu_vdrive(uint8_t par, int32_t _U_ *val){
NOPARCHK(par);
*val = getADCvoltage(ADC_VDRIVE);
*val = getADCvoltage(ADC_VDRIVE) * 11;
return ERR_OK;
}