rust: Remove wrong comment from dvp

This commit is contained in:
Wladimir J. van der Laan 2019-06-01 22:51:53 +00:00
parent 9bdd98f29b
commit d20791330d

View File

@ -183,7 +183,6 @@ impl DVP {
* 8160x1023, without burst mode it is 2040x1023. * 8160x1023, without burst mode it is 2040x1023.
*/ */
pub fn set_image_size(&self, burst_mode: bool, width: u16, height: u16) { pub fn set_image_size(&self, burst_mode: bool, width: u16, height: u16) {
// Note: this uses state written in enable/disable_burst, so that needs to be configured before this
let burst_num = if burst_mode { let burst_num = if burst_mode {
self.dvp.dvp_cfg.modify(|_,w| w.burst_size_4beats().set_bit()); self.dvp.dvp_cfg.modify(|_,w| w.burst_size_4beats().set_bit());
self.dvp.axi.modify(|_,w| w.gm_mlen().variant(dvp::axi::GM_MLENW::BYTE4)); self.dvp.axi.modify(|_,w| w.gm_mlen().variant(dvp::axi::GM_MLENW::BYTE4));