docs: Add docs/ folder with in depth topics as well as DoxygenLayout.xml file
* C headers now have @briefs and include examples * Examples have altered 'Interesting' Sections Signed-off-by: Brendan Le Foll <brendan.le.foll@intel.com>
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
*/
|
||||
|
||||
#include <unistd.h>
|
||||
|
||||
//! [Interesting]
|
||||
#include "aio.h"
|
||||
|
||||
int main ()
|
||||
@@ -31,7 +31,6 @@ int main ()
|
||||
maa_aio_context adc_a0;
|
||||
uint16_t adc_value = 0;
|
||||
|
||||
//! [Interesting]
|
||||
adc_a0 = maa_aio_init(0);
|
||||
if (adc_a0 == NULL) {
|
||||
return 1;
|
||||
@@ -43,7 +42,7 @@ int main ()
|
||||
}
|
||||
|
||||
maa_aio_close(adc_a0);
|
||||
//! [Interesting]
|
||||
|
||||
return MAA_SUCCESS;
|
||||
}
|
||||
//! [Interesting]
|
||||
|
||||
@@ -23,14 +23,13 @@
|
||||
*/
|
||||
|
||||
#include "stdio.h"
|
||||
|
||||
//! [Interesting]
|
||||
#include "maa.h"
|
||||
|
||||
int
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
//! [Interesting]
|
||||
fprintf(stdout, "hello maa\n Version: %s\n", maa_get_version());
|
||||
return 0;
|
||||
//! [Interesting]
|
||||
}
|
||||
//! [Interesting]
|
||||
|
||||
Reference in New Issue
Block a user