tasks: oled: update to new nullbufferpool syntax
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user