Private
Public Access
2
0

api: add proper doxygen comments to C++ headers and normalise doc

Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
Brendan Le Foll
2014-05-30 17:10:52 +01:00
parent fac705768d
commit 5b191ab6cd
16 changed files with 572 additions and 301 deletions

View File

@@ -93,6 +93,7 @@ sig_handler(int signo)
int main ()
{
//! [Interesting]
maa::I2c* i2c;
i2c = new maa::I2c(0);
float direction = 0;
@@ -103,7 +104,7 @@ int main ()
rx_tx_buf[0] = HMC5883L_CONF_REG_B;
rx_tx_buf[1] = GA_1_3_REG;
i2c->write(rx_tx_buf, 2);
//! [Interesting]
signal(SIGINT, sig_handler);
while (running == 0) {