summaryrefslogtreecommitdiffstatshomepage
path: root/nl_examples
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2019-11-07 20:25:51 +0100
committer couriersud <couriersud@gmx.org>2019-11-07 20:25:51 +0100
commitae2cad64f4744b13a9e776c087da227dc13d9104 (patch)
tree28e267579b6f2f420acb19e6e717e02ac7f185cb /nl_examples
parent8564977f3ba67940416ac1dcb8134ec89c8df86f (diff)
netlist: code and documentation maintenance fixes. [Couriersud]
- "nltool -c docheader" now scans sources and creates usage focussed doxy documentation for devices. Very early stage, but works. For an example, please see ne555 source. - Started migrating to pure C++, i.e. "//" comments. - Various documentation fixes. - Added cppcheck configuration to netlist/build - Some smaller code changes.
Diffstat (limited to 'nl_examples')
-rw-r--r--nl_examples/ne555_astable.c12
1 files changed, 2 insertions, 10 deletions
diff --git a/nl_examples/ne555_astable.c b/nl_examples/ne555_astable.c
index b782f9c6f3e..0348d3ae4d3 100644
--- a/nl_examples/ne555_astable.c
+++ b/nl_examples/ne555_astable.c
@@ -1,12 +1,12 @@
// license:GPL-2.0+
// copyright-holders:Couriersud
-//! [ne555 example]
/*
* ne555_astable.c
*
*/
+//! [ne555_example]
#include "netlist/devices/net_lib.h"
NETLIST_START(ne555_astable)
@@ -16,14 +16,6 @@ NETLIST_START(ne555_astable)
*
*/
- /*!
- *
- * abc | def
- * ghj | ddd
- * iop | xyz
- *
- *
- */
/* Standard stuff */
SOLVER(Solver, 48000)
@@ -58,4 +50,4 @@ NETLIST_START(ne555_astable)
LOG(log3, 555.OUT)
NETLIST_END()
-//! [ne555 example]
+//! [ne555_example]