Skip to content

Commit

Permalink
corrected red/green order of leds
Browse files Browse the repository at this point in the history
corrected red/green order of leds
  • Loading branch information
4pplet committed Jan 21, 2023
1 parent 6abd52f commit fd77a3e
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions app/boards/arm/cyber60_rev_c/cyber60_rev_c.dts
Original file line number Diff line number Diff line change
Expand Up @@ -64,13 +64,13 @@

pwmleds {
compatible = "pwm-leds";
pwm_led_0: pwm_led_green { // P0.07
pwms = <&pwm0 7>;
pwm_led_0: pwm_led_green { // P0.05
pwms = <&pwm0 5>;
label = "Green PWM LED";
status = "okay";
};
pwm_led_1: pwm_led_red { // P0.05
pwms = <&pwm0 5>;
pwm_led_1: pwm_led_red { // P0.07
pwms = <&pwm0 7>;
label = "Red PWM LED";
status = "okay";
};
Expand Down
8 changes: 4 additions & 4 deletions app/boards/arm/cyber60_rev_d/cyber60_rev_d.dts
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@
};
leds {
compatible = "gpio-leds";
led_0: led_green { // P0.07
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
led_0: led_green { // P0.05
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
label = "Green LED";
status = "okay";
};
led_1: led_red { // P0.05
gpios = <&gpio0 5 GPIO_ACTIVE_LOW>;
led_1: led_red { // P0.07
gpios = <&gpio0 7 GPIO_ACTIVE_LOW>;
label = "Red LED";
status = "okay";
};
Expand Down

0 comments on commit fd77a3e

Please sign in to comment.