tasks: oled: update to new nullbufferpool syntax

This commit is contained in:
2025-12-07 14:55:33 +01:00
parent 727e96a539
commit b64678cff3

View File

@@ -13,7 +13,7 @@ use crate::{animation::Animation, backoff::Backoff, events::{Notification, Predi
pub type OledUiSurfacePool = BufferedSurfacePool<OledUniforms, Matrix2DSpace, BinaryColor>;
#[cfg(not(feature="oled"))]
pub type OledUiSurfacePool = NullBufferPool<NullSurface<OledUniforms, Matrix2DSpace, BinaryColor>>;
pub type OledUiSurfacePool = NullBufferPool<OledUniforms, Matrix2DSpace, BinaryColor>;
type OledSurface = <OledUiSurfacePool as Surfaces<Matrix2DSpace>>::Surface;