mirror of
				https://github.com/eclipse/upm.git
				synced 2025-10-31 07:04:14 +03:00 
			
		
		
		
	examples: Added ending 'Interesting' tags
A handful of examples were missing the terminating 'Interesting' tag. Added these. Signed-off-by: Noel Eck <noel.eck@intel.com>
This commit is contained in:
		| @@ -76,6 +76,7 @@ main(int argc, char **argv) | ||||
|     printf("motion is: %d, %d, %d, %d, %d, %d\n", m, n, o, p, q, r); | ||||
|  | ||||
|     delete sensor; | ||||
|     //! [Interesting] | ||||
|  | ||||
|     return 0; | ||||
| } | ||||
|   | ||||
| @@ -95,4 +95,4 @@ int main( int argc, char **argv ) | ||||
|    return status; | ||||
| } | ||||
|  | ||||
|  | ||||
| //! [Interesting] | ||||
|   | ||||
| @@ -31,6 +31,7 @@ | ||||
| using namespace std; | ||||
| using namespace upm; | ||||
|  | ||||
| //! [Interesting] | ||||
| int main(int argc, char **argv) | ||||
| { | ||||
|   // Instantiate a NLGPIO16 Module on the default UART (/dev/ttyACM0) | ||||
|   | ||||
| @@ -119,5 +119,6 @@ int main(int argc, char **argv) | ||||
|  | ||||
|   delete sensor; | ||||
|  | ||||
|   //! [Interesting] | ||||
|   return 0; | ||||
| } | ||||
|   | ||||
| @@ -104,6 +104,7 @@ int main(int argc, char **argv) | ||||
|   cout << "Exiting..." << endl; | ||||
|  | ||||
|   delete sensor; | ||||
| //! [Interesting] | ||||
|  | ||||
|   return 0; | ||||
| } | ||||
|   | ||||
| @@ -122,6 +122,7 @@ int main(int argc, char **argv) | ||||
|   cout << "Exiting..." << endl; | ||||
|  | ||||
|   delete sensor; | ||||
| //! [Interesting] | ||||
|  | ||||
|   return 0; | ||||
| } | ||||
|   | ||||
| @@ -112,6 +112,7 @@ int main(int argc, char **argv) | ||||
|   cout << "Exiting..." << endl; | ||||
|  | ||||
|   delete sensor; | ||||
| //! [Interesting] | ||||
|  | ||||
|   return 0; | ||||
| } | ||||
|   | ||||
| @@ -110,5 +110,6 @@ int main(int argc, char **argv) | ||||
|  | ||||
|   delete sensor; | ||||
|  | ||||
| //! [Interesting] | ||||
|   return 0; | ||||
| } | ||||
|   | ||||
| @@ -30,6 +30,7 @@ | ||||
| #define EDISON_GPIO_SI7005_CS 20 | ||||
|  | ||||
|  | ||||
| //! [Interesting] | ||||
| int main () | ||||
| { | ||||
|    try { | ||||
| @@ -47,5 +48,4 @@ int main () | ||||
|    } | ||||
|    return 0; | ||||
| } | ||||
|  | ||||
| //! [Interesting] | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Noel Eck
					Noel Eck