Add some debug prints

fix function def for init ADC, so it overrides the weak generic version

fix caps in mt6835 include so gcc is happy
This commit is contained in:
copper280z
2023-11-10 22:44:04 -05:00
parent 5125602875
commit d691329e86
5 changed files with 28 additions and 12 deletions

View File

@@ -37,6 +37,7 @@ InlineCurrentSenseSync::InlineCurrentSenseSync(float _mVpA, int _pinA, int _pinB
// Inline sensor init function
int InlineCurrentSenseSync::init(){
SIMPLEFOC_DEBUG("CS:Init Current Sense Inline Sync");
// if no linked driver its fine in this case
// at least for init()
void* drv_params = driver ? driver->params : nullptr;