You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
SIMPLEFOC_DEBUG("ERROR: ADC pin not found in the buffer!");
112
113
// not found
113
114
return0;
114
115
}
@@ -126,7 +127,7 @@ void* _configureADCLowSide(const void* driver_params, const int pinA,const int p
126
127
// check if low side callback is already set
127
128
// if it is, return error
128
129
if(t->on_full != nullptr){
129
-
SIMPLEFOC_ESP32_CS_DEBUG("Low side callback is already set. Cannot set it again for timer: "+String(t->timer_id)+", group: "+String(t->group->group_id));
130
+
SIMPLEFOC_ESP32_CS_DEBUG("ERROR: Low side callback is already set. Cannot set it again for timer: "+String(t->timer_id)+", group: "+String(t->group->group_id));
130
131
return SIMPLEFOC_CURRENT_SENSE_INIT_FAILED;
131
132
}
132
133
@@ -140,7 +141,7 @@ void* _configureADCLowSide(const void* driver_params, const int pinA,const int p
140
141
for (int i = 0; i < 3; i++){
141
142
if(_isset(adc_pins[i])){
142
143
if(!adcInit(adc_pins[i])){
143
-
SIMPLEFOC_ESP32_CS_DEBUG("Failed to initialise ADC pin: "+String(adc_pins[i]) + String(", maybe not an ADC pin?"));
144
+
SIMPLEFOC_ESP32_CS_DEBUG("ERROR: Failed to initialise ADC pin: "+String(adc_pins[i]) + String(", maybe not an ADC pin?"));
SIMPLEFOC_ESP32_CS_DEBUG("Low side callback is already set. Cannot set it again for timer: "+String(t->timer_id)+", group: "+String(t->group->group_id));
169
+
SIMPLEFOC_ESP32_CS_DEBUG("ERROR: Low side callback is already set. Cannot set it again for timer: "+String(t->timer_id)+", group: "+String(t->group->group_id));
0 commit comments