[PATCH 2/3] tools: 8camera-status: Expand to 9 cameras

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



From: Kieran Bingham <kieran.bingham+renesas@xxxxxxxxxxxxxxxx>

The 8th camera has an address conflict on the Salvator-X.
As such it has been moved to the right by one address,
Include this '9th' camera in the reporting status

Signed-off-by: Kieran Bingham <kieran.bingham+renesas@xxxxxxxxxxxxxxxx>
---
 tools/8camera-status | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/tools/8camera-status b/tools/8camera-status
index cdfe76ef286f..846673578f09 100755
--- a/tools/8camera-status
+++ b/tools/8camera-status
@@ -1,7 +1,7 @@
 #!/usr/bin/awk -f
 
 BEGIN {
-	for (x = 0; x <= 8; x++)
+	for (x = 0; x <= 9; x++)
 		cameras[x] = "-"
 }
 
@@ -67,15 +67,15 @@ function ParseProbe ( line )
 
 function PrintCameras()
 {
-	print "===================================="
-	print "| 1 | 2 | 3 | 4 |  | 5 | 6 | 7 | 8 |"
-	for (x=1; x <= 8; x++) {
+	print "========================================"
+	print "| 1 | 2 | 3 | 4 |  | 5 | 6 | 7 | 8 | 9 |"
+	for (x=1; x <= 9; x++) {
 		printf "| " cameras[x] " "
 		if (x == 4)
 			printf("|  ")
 	}
 	printf "|\n"
-	print "===================================="
+	print "======================================="
 }
 
 function Summarise() {
-- 
2.7.4




[Index of Archives]     [Linux Samsung SOC]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]

  Powered by Linux