Trunk fmt

This commit is contained in:
Ben Meadors 2024-11-01 15:17:25 -05:00
parent 336cdc0efe
commit 701421b50a
3 changed files with 5 additions and 5 deletions

View File

@ -245,7 +245,8 @@ jobs:
if: ${{ github.event_name == 'workflow_dispatch' }}
outputs:
upload_url: ${{ steps.create_release.outputs.upload_url }}
needs: [
needs:
[
gather-artifacts,
package-raspbian,
package-raspbian-armv7l,

View File

@ -156,8 +156,8 @@ static void adcEnable()
pinMode(ADC_CTRL, INPUT_PULLUP);
#else
#ifdef HELTEC_V3
pinMode(ADC_CTRL,INPUT);
uint8_t adc_ctl_enable_value=!(digitalRead(ADC_CTRL));
pinMode(ADC_CTRL, INPUT);
uint8_t adc_ctl_enable_value = !(digitalRead(ADC_CTRL));
pinMode(ADC_CTRL, OUTPUT);
digitalWrite(ADC_CTRL, adc_ctl_enable_value);
#else
@ -176,7 +176,7 @@ static void adcDisable()
pinMode(ADC_CTRL, INPUT_PULLDOWN);
#else
#ifdef HELTEC_V3
pinMode(ADC_CTRL,ANALOG);
pinMode(ADC_CTRL, ANALOG);
#else
digitalWrite(ADC_CTRL, !ADC_CTRL_ENABLED);
#endif

View File

@ -19,4 +19,3 @@ static const uint8_t MOSI = 38;
static const uint8_t SS = 17;
#endif /* Pins_Arduino_h */