Skip to content

Commit 132e7b0

Browse files
committed
mark param unused
1 parent 5ef4d9d commit 132e7b0

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/current_sense/hardware_specific/rp2040/rp2040_mcu.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ float _readADCVoltageInline(const int pinA, const void* cs_params) {
2525
// return readings from the same ADC conversion run. The ADC on RP2040 is anyway in round robin mode :-(
2626
// like this we either have to block interrupts, or of course have the chance of reading across
2727
// new ADC conversions, which probably won't improve the accuracy.
28+
_UNUSED(cs_params);
2829

2930
if (pinA>=26 && pinA<=29 && engine.channelsEnabled[pinA-26]) {
3031
return engine.lastResults.raw[pinA-26]*engine.adc_conv;
@@ -36,6 +37,8 @@ float _readADCVoltageInline(const int pinA, const void* cs_params) {
3637

3738

3839
void* _configureADCInline(const void *driver_params, const int pinA, const int pinB, const int pinC) {
40+
_UNUSED(driver_params);
41+
3942
if( _isset(pinA) )
4043
engine.addPin(pinA);
4144
if( _isset(pinB) )

0 commit comments

Comments
 (0)