diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-04-13 16:24:28 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-04-13 16:24:28 -0600 |
commit | 43ec94a665e13552402ff4f102e0f65f6792cf29 (patch) | |
tree | 05da26d1bb5e364c1a388afd54630d5ae3ca4aa7 /apps/examples/wgetjson | |
parent | 70b6bb22af51defd713adfd452309f32f0e523aa (diff) | |
download | px4-nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.gz px4-nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.tar.bz2 px4-nuttx-43ec94a665e13552402ff4f102e0f65f6792cf29.zip |
More trailing whilespace removal
Diffstat (limited to 'apps/examples/wgetjson')
-rw-r--r-- | apps/examples/wgetjson/Makefile | 2 | ||||
-rw-r--r-- | apps/examples/wgetjson/webserver/wgetjson/json_cmd.php | 24 |
2 files changed, 13 insertions, 13 deletions
diff --git a/apps/examples/wgetjson/Makefile b/apps/examples/wgetjson/Makefile index 89cb3e11e..f40d86ba9 100644 --- a/apps/examples/wgetjson/Makefile +++ b/apps/examples/wgetjson/Makefile @@ -68,7 +68,7 @@ STACKSIZE = 2048 # Common build -VPATH = +VPATH = all: .built .PHONY: context clean depend distclean diff --git a/apps/examples/wgetjson/webserver/wgetjson/json_cmd.php b/apps/examples/wgetjson/webserver/wgetjson/json_cmd.php index 2b66ff18f..458c910a4 100644 --- a/apps/examples/wgetjson/webserver/wgetjson/json_cmd.php +++ b/apps/examples/wgetjson/webserver/wgetjson/json_cmd.php @@ -1,13 +1,13 @@ -<?php
-/*
-$json = "{\n\"name\": \"Jack (\\\"Bee\\\") Nimble\", \n\"format\": {\"type\": \"rect\", \n\"width\": 1920, \n\"height\": 1080, \n\"interlace\": false,\"frame rate\": 24\n}\n}";
-*/
-$ja["name"] = "Jack (\"Bee\") Nimble";
-$ja["format"]["type"] = "rect";
-$ja["format"]["width"] = 1920;
-$ja["format"]["height"] = 1080;
-$ja["format"]["interlace"] = false;
-$ja["format"]["frame rate"] = 24;
-
-echo json_encode($ja);
+<?php +/* +$json = "{\n\"name\": \"Jack (\\\"Bee\\\") Nimble\", \n\"format\": {\"type\": \"rect\", \n\"width\": 1920, \n\"height\": 1080, \n\"interlace\": false,\"frame rate\": 24\n}\n}"; +*/ +$ja["name"] = "Jack (\"Bee\") Nimble"; +$ja["format"]["type"] = "rect"; +$ja["format"]["width"] = 1920; +$ja["format"]["height"] = 1080; +$ja["format"]["interlace"] = false; +$ja["format"]["frame rate"] = 24; + +echo json_encode($ja); ?>
\ No newline at end of file |