`kaleidoscope::driver::storage::AVREEPROM` wasn't implementing its own `isSliceUninitialized()` method, and relied on the Base class to do so. However, since we're not using `virtual` methods, the base class was using `Base::read()` (which always returns 0) rather than `AVREEPROM::read()`, so `isSliceUninitialized()` always returned false. To fix this, we implement the function in `AVREEPROM`, and let the default implementation in Base always return false. Signed-off-by: Gergely Nagy <algernon@keyboard.io>pull/1196/head
parent
cb9ad9f753
commit
657d33450c
Loading…
Reference in new issue