mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +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:
parent
a655235c70
commit
e2fe04927f
@ -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);
|
printf("motion is: %d, %d, %d, %d, %d, %d\n", m, n, o, p, q, r);
|
||||||
|
|
||||||
delete sensor;
|
delete sensor;
|
||||||
|
//! [Interesting]
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -95,4 +95,4 @@ int main( int argc, char **argv )
|
|||||||
return status;
|
return status;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
//! [Interesting]
|
||||||
|
@ -31,6 +31,7 @@
|
|||||||
using namespace std;
|
using namespace std;
|
||||||
using namespace upm;
|
using namespace upm;
|
||||||
|
|
||||||
|
//! [Interesting]
|
||||||
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
||||||
{
|
{
|
||||||
// Instantiate a NLGPIO16 Module on the default UART (/dev/ttyACM0)
|
// Instantiate a NLGPIO16 Module on the default UART (/dev/ttyACM0)
|
||||||
|
@ -119,5 +119,6 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
delete sensor;
|
delete sensor;
|
||||||
|
|
||||||
|
//! [Interesting]
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -104,6 +104,7 @@ int main(int argc, char **argv)
|
|||||||
cout << "Exiting..." << endl;
|
cout << "Exiting..." << endl;
|
||||||
|
|
||||||
delete sensor;
|
delete sensor;
|
||||||
|
//! [Interesting]
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -122,6 +122,7 @@ int main(int argc, char **argv)
|
|||||||
cout << "Exiting..." << endl;
|
cout << "Exiting..." << endl;
|
||||||
|
|
||||||
delete sensor;
|
delete sensor;
|
||||||
|
//! [Interesting]
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -112,6 +112,7 @@ int main(int argc, char **argv)
|
|||||||
cout << "Exiting..." << endl;
|
cout << "Exiting..." << endl;
|
||||||
|
|
||||||
delete sensor;
|
delete sensor;
|
||||||
|
//! [Interesting]
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -110,5 +110,6 @@ int main(int argc, char **argv)
|
|||||||
|
|
||||||
delete sensor;
|
delete sensor;
|
||||||
|
|
||||||
|
//! [Interesting]
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
@ -30,6 +30,7 @@
|
|||||||
#define EDISON_GPIO_SI7005_CS 20
|
#define EDISON_GPIO_SI7005_CS 20
|
||||||
|
|
||||||
|
|
||||||
|
//! [Interesting]
|
||||||
int main ()
|
int main ()
|
||||||
{
|
{
|
||||||
try {
|
try {
|
||||||
@ -47,5 +48,4 @@ int main ()
|
|||||||
}
|
}
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
//! [Interesting]
|
//! [Interesting]
|
||||||
|
Loading…
x
Reference in New Issue
Block a user