lint
This commit is contained in:
		| @@ -259,7 +259,7 @@ where | |||||||
|  |  | ||||||
|         self.backplane_set_window(0x18000000).await; // CHIPCOMMON_BASE_ADDRESS |         self.backplane_set_window(0x18000000).await; // CHIPCOMMON_BASE_ADDRESS | ||||||
|  |  | ||||||
|         return val |         return val; | ||||||
|     } |     } | ||||||
|  |  | ||||||
|     async fn backplane_writen(&mut self, addr: u32, val: u32, len: u32) { |     async fn backplane_writen(&mut self, addr: u32, val: u32, len: u32) { | ||||||
| @@ -345,7 +345,10 @@ where | |||||||
|  |  | ||||||
|         self.status = self.spi.cmd_read(cmd, &mut buf[..len]).await; |         self.status = self.spi.cmd_read(cmd, &mut buf[..len]).await; | ||||||
|  |  | ||||||
|         debug!("readn cmd = {:08x} addr = {:08x} len = {} buf = {:08x}", cmd, addr, len, buf); |         debug!( | ||||||
|  |             "readn cmd = {:08x} addr = {:08x} len = {} buf = {:08x}", | ||||||
|  |             cmd, addr, len, buf | ||||||
|  |         ); | ||||||
|  |  | ||||||
|         // if we read from the backplane, the result is in the second word, after the response delay |         // if we read from the backplane, the result is in the second word, after the response delay | ||||||
|         if func == FUNC_BACKPLANE { |         if func == FUNC_BACKPLANE { | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user