Skip to content

Commit

Permalink
api: mraa: Add cleaned-up C++ examples to doxygen doc
Browse files Browse the repository at this point in the history
Add the cleaned-up C++ examples to doxygen doc by modifying the @snippet
tag.

Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
  • Loading branch information
Mani-Sadhasivam authored and arfoll committed Jan 25, 2018
1 parent 83a67b9 commit d7490d8
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 8 deletions.
2 changes: 1 addition & 1 deletion api/mraa/aio.hpp
Expand Up @@ -36,7 +36,7 @@ namespace mraa
*
* This file defines the aio interface for libmraa
*
* @snippet AioA0.cpp Interesting
* @snippet aio.cpp Interesting
*/
class Aio
{
Expand Down
2 changes: 1 addition & 1 deletion api/mraa/gpio.hpp
Expand Up @@ -90,7 +90,7 @@ typedef enum {
*
* This file defines the gpio interface for libmraa
*
* @snippet Blink-IO.cpp Interesting
* @snippet gpio.cpp Interesting
*/
class Gpio
{
Expand Down
2 changes: 1 addition & 1 deletion api/mraa/i2c.hpp
Expand Up @@ -38,7 +38,7 @@ namespace mraa
* selecting the correct address
* @htmlinclude i2c.txt
*
* @snippet I2c-compass.cpp Interesting
* @snippet i2c.cpp Interesting
*/
class I2c
{
Expand Down
2 changes: 1 addition & 1 deletion api/mraa/iio.hpp
Expand Up @@ -67,7 +67,7 @@ class IioHandler
*
* This file defines the C++ iio interface for libmraa
*
* @snippet Iio-dummy.cpp Interesting
* @snippet iio.cpp Interesting
*/
class Iio
{
Expand Down
1 change: 1 addition & 0 deletions api/mraa/led.hpp
Expand Up @@ -36,6 +36,7 @@ namespace mraa
*
* This file defines the LED interface for libmraa
*
* @snippet led.cpp Interesting
*/
class Led
{
Expand Down
2 changes: 1 addition & 1 deletion api/mraa/pwm.hpp
Expand Up @@ -36,7 +36,7 @@ namespace mraa
*
* This file defines the PWM interface for libmraa
*
* @snippet Pwm3-cycle.cpp Interesting
* @snippet pwm.cpp Interesting
*/
class Pwm
{
Expand Down
2 changes: 1 addition & 1 deletion api/mraa/spi.hpp
Expand Up @@ -51,7 +51,7 @@ typedef enum {
*
* This file defines the SPI interface for libmraa
*
* @snippet Spi-pot.cpp Interesting
* @snippet spi.cpp Interesting
*/
class Spi
{
Expand Down
2 changes: 1 addition & 1 deletion api/mraa/uart.hpp
Expand Up @@ -40,7 +40,7 @@ namespace mraa
*
* This file defines the UART interface for libmraa
*
* @snippet Uart-example.cpp Interesting
* @snippet uart.cpp Interesting
*/
class Uart
{
Expand Down
2 changes: 1 addition & 1 deletion api/mraa/uart_ow.hpp
Expand Up @@ -37,7 +37,7 @@ namespace mraa
*
* This file defines the UartOW (UART to Dallas 1-wire) interface for libmraa
*
* @snippet UartOW.cpp Interesting
* @snippet uart_ow.cpp Interesting
*/
class UartOW
{
Expand Down

0 comments on commit d7490d8

Please sign in to comment.