Skip to content

Commit

Permalink
Trunk fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
thebentern committed Nov 1, 2024
1 parent 336cdc0 commit 701421b
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/main_matrix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down
6 changes: 3 additions & 3 deletions src/Power.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand Down
1 change: 0 additions & 1 deletion variants/icarus/pins_arduino.h
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ static const uint8_t MOSI = 38;
static const uint8_t SS = 17;

#endif /* Pins_Arduino_h */

0 comments on commit 701421b

Please sign in to comment.