Skip to content

Commit fb01904

Browse files
SV-ZanshinSV-Zanshin
authored andcommitted
Doxygen corrections
Issue #9
1 parent 514b513 commit fb01904

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

examples/CheckDistance/CheckDistance.ino

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
/*! @file CheckDistance.ino
22
3-
@mainpage Example program for the VCNL4010 Library
4-
53
@section CheckDistance Description
64
75
Example program for using the VCNL4010 library which allows the Arduino to use the VCNL4010 Fully Integrated

src/VCNL4010.cpp

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,6 @@ bool VCNL4010::begin(const uint8_t deviceAddress, const uint32_t i2CSpeed)
4646
/*!
4747
* @brief Starts the I2C communications with the VCNL4010 (overloaded)
4848
* @details Uses the default address specified in VCNL4010_ADDRESS if one is not given and standard I2C Speed
49-
* @param[in] deviceAddress I2C device address
5049
*/
5150
bool VCNL4010::begin(void)
5251
{
@@ -138,8 +137,7 @@ void VCNL4010::writeByte(const uint8_t addr, const uint8_t data)
138137
* 110 | 125
139138
* 111 | 250
140139
* These roughly equate to Hz (2,4,8,16,32,64,128 and 256)
141-
* @param[in] addr Address of the I2C device
142-
* @param[in] data Single byte to write
140+
* @param[in] Hz Herz code value, described in details
143141
*/
144142
void VCNL4010::setProximityHz(const uint8_t Hz)
145143
{

src/VCNL4010.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,12 +54,13 @@ Version| Date | Developer | Comments
5454
#include "Arduino.h" // Arduino data type definitions
5555
#include <Wire.h> // Standard I2C "Wire" library
5656
#ifndef VCNL4010_h // Guard code definition
57+
/*! @brief Guard code definition for the VCNL4010 Library */
5758
#define VCNL4010_h // Define the name inside guard code
5859
/********************************************
5960
** Declare all constants used in the class **
6061
********************************************/
6162
#ifndef I2C_MODES // I2C related constants
62-
/** @brief Guard code definition */
63+
/*! @brief Guard code definition for the various I2C modes */
6364
#define I2C_MODES // Guard code to prevent multiple declarations
6465
const uint32_t I2C_STANDARD_MODE = 100000; ///< Default normal I2C 100KHz speed
6566
const uint32_t I2C_FAST_MODE = 400000; ///< Fast mode

0 commit comments

Comments
 (0)