diff --git a/exercises/hardware_access_control/part_3/gpio_access.rego b/exercises/hardware_access_control/part_3/gpio_access.rego index 8c743ad..7e2280a 100644 --- a/exercises/hardware_access_control/part_3/gpio_access.rego +++ b/exercises/hardware_access_control/part_3/gpio_access.rego @@ -6,7 +6,7 @@ package gpio_access # Checks only `gpio_access` has access to the GPIO MMIO default only_gpio_access_has_access := false only_gpio_access_has_access { - data.compartment.mmio_allow_list("gpio", { "gpio_access" }) + data.compartment.mmio_allow_list("gpio_board", { "gpio_access" }) } # Checks only `blinky_dynamic` and `led_walk_dynamic` have access