File: 0067-Add-dummy-byte-for-w25q80bv-fast-read-command-timing.patch

package info (click to toggle)
hackrf 2015.07.2-11
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 69,764 kB
  • ctags: 9,327
  • sloc: ansic: 13,907; python: 696; vhdl: 218; sh: 32; makefile: 15
file content (21 lines) | stat: -rw-r--r-- 564 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
From 0418d13e725acf62b7dbd851f5b4884e83aa7d72 Mon Sep 17 00:00:00 2001
From: Dominic Spill <dominicgs@gmail.com>
Date: Mon, 18 Jan 2016 19:42:13 +0000
Subject: [PATCH 67/68] Add dummy byte for w25q80bv fast read command timing

---
 firmware/common/w25q80bv.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

--- a/firmware/common/w25q80bv.c
+++ b/firmware/common/w25q80bv.c
@@ -213,7 +213,8 @@
 		W25Q80BV_FAST_READ,
 		(addr & 0xFF0000) >> 16,
 		(addr & 0xFF00) >> 8,
-		addr & 0xFF
+		addr & 0xFF,
+		0x00
 	};
 
 	const spi_transfer_t transfers[] = {