add mising dependency on owc-inc feature flag

This commit is contained in:
bunnie 2026-06-10 14:37:49 +08:00
parent 8876a8d7b7
commit f720314dc4

View file

@ -271,7 +271,7 @@ impl Keystore {
T::Error: core::fmt::Debug,
{
let offset: usize = T::OFFSET;
if offset < MAX_ONEWAY_COUNTERS {
if offset < bao1x_hal::acram::MAX_ONEWAY_COUNTERS {
unsafe { self.inc_owc(offset) }
} else {
Err(OneWayErr::OutOfBounds)