mirror of
https://github.com/laanwj/k210-sdk-stuff.git
synced 2024-11-22 01:16:20 +04:00
rust: Remove wrong comment from dvp
This commit is contained in:
parent
9bdd98f29b
commit
d20791330d
@ -183,7 +183,6 @@ impl DVP {
|
||||
* 8160x1023, without burst mode it is 2040x1023.
|
||||
*/
|
||||
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 {
|
||||
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));
|
||||
|
Loading…
Reference in New Issue
Block a user