Skip to content

Commit

Permalink
Update to gnat_arm_elf 14, fix style warning in RP.PIO.WS2812
Browse files Browse the repository at this point in the history
  • Loading branch information
JeremyGrosser committed Jun 5, 2024
1 parent 71f589d commit 13f0f82
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion alire.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ cortex_m = "~0.5"
atomic = "~0.5"
hal = "~0.3"
usb_embedded = "~0.3"
gnat_arm_elf = "^13"
gnat_arm_elf = "^14"

[configuration.variables]
Flash_Chip = {type = "Enum", values = ["w25qxx", "generic_qspi", "generic_03"], default = "w25qxx"}
Expand Down
2 changes: 1 addition & 1 deletion src/drivers/rp-pio-ws2812.adb
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,7 @@ package body RP.PIO.WS2812 is
(255 - Shift_Right (UInt32 (S) *
(255 - Remainder), 8)), 8));

case (Region) is
case Region is
when 0 => R := V; G := T; B := P;
when 1 => R := Q; G := V; B := P;
when 2 => R := P; G := V; B := T;
Expand Down
2 changes: 1 addition & 1 deletion tests/alire.toml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ executables = ["test_rp2040_hal"]
rp2040_hal = "^2"
aunit = "^24"
gnatcov = "^22"
gnat_arm_elf = "^13"
gnat_arm_elf = "^14"

[[pins]]
rp2040_hal = { path='..' }
Expand Down

0 comments on commit 13f0f82

Please sign in to comment.