Message ID | 1510756711-6488-3-git-send-email-kbingham@kernel.org (mailing list archive) |
---|---|
State | Not Applicable |
Delegated to: | Geert Uytterhoeven |
Headers | show |
Hi Kieran, Thanks for your patch, applied. On 2017-11-15 14:38:30 +0000, Kieran Bingham wrote: > From: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com> > > 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@ideasonboard.com> > --- > 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 >
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() {