Remove unused import

This commit is contained in:
Gwilym Kuiper 2022-03-05 19:44:37 +00:00
parent d97ceca647
commit ba1c2e3eaf
2 changed files with 2 additions and 6 deletions

View file

@ -2,7 +2,7 @@ use core::cell::RefCell;
use core::ops::{Deref, DerefMut}; use core::ops::{Deref, DerefMut};
use crate::bitarray::Bitarray; use crate::bitarray::Bitarray;
use crate::display::{self, Priority, DISPLAY_CONTROL}; use crate::display::{Priority, DISPLAY_CONTROL};
use crate::dma::dma_copy; use crate::dma::dma_copy;
use crate::fixnum::Vector2D; use crate::fixnum::Vector2D;
use crate::memory_mapped::MemoryMapped; use crate::memory_mapped::MemoryMapped;

View file

@ -1,11 +1,7 @@
use alloc::vec; use alloc::vec;
use alloc::vec::Vec; use alloc::vec::Vec;
use crate::{ use crate::{display::palette16, dma::dma_copy, memory_mapped::MemoryMapped1DArray};
display::palette16,
dma::dma_copy,
memory_mapped::{MemoryMapped, MemoryMapped1DArray},
};
const PALETTE_BACKGROUND: MemoryMapped1DArray<u16, 256> = const PALETTE_BACKGROUND: MemoryMapped1DArray<u16, 256> =
unsafe { MemoryMapped1DArray::new(0x0500_0000) }; unsafe { MemoryMapped1DArray::new(0x0500_0000) };