mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
fix doxygen @todo commands
This commit is contained in:
parent
8306831942
commit
4d6c746232
10 changed files with 13 additions and 13 deletions
|
@ -42,7 +42,7 @@
|
|||
#define ETHERCAT_PID_FC1100 0x044c0c62
|
||||
|
||||
|
||||
/** @todo: Make PDO entry tables configurable */
|
||||
/** @todo Make PDO entry tables configurable */
|
||||
|
||||
/* Master 0, Slave 3, "EL4038"
|
||||
* Vendor ID: 0x00000002
|
||||
|
|
|
@ -28,7 +28,7 @@
|
|||
|
||||
typedef float flt32_t;
|
||||
typedef double flt64_t;
|
||||
typedef long double flt128_t; /** @todo: check */
|
||||
typedef long double flt128_t; /** @todo check */
|
||||
|
||||
using namespace villas;
|
||||
using namespace villas::node;
|
||||
|
|
|
@ -324,7 +324,7 @@ static int comedi_start_out(struct vnode *n)
|
|||
d->last_debug = time_now();
|
||||
|
||||
/* Allocate buffer for one complete VILLAS sample */
|
||||
/** @todo: maybe increase buffer size according to c->vectorize */
|
||||
/** @todo maybe increase buffer size according to c->vectorize */
|
||||
const size_t local_buffer_size = d->sample_size * d->chanlist_len;
|
||||
d->buffer = new char[local_buffer_size];
|
||||
d->bufptr = d->buffer;
|
||||
|
@ -455,7 +455,7 @@ int comedi_start(struct vnode *n)
|
|||
throw RuntimeError("Failed to open device: {}", comedi_strerror(comedi_errno()));
|
||||
|
||||
/* Enable non-blocking syscalls */
|
||||
/** @todo: verify if this works with both input and output, so comment out */
|
||||
/** @todo verify if this works with both input and output, so comment out */
|
||||
//if (fcntl(comedi_fileno(c->dev), F_SETFL, O_NONBLOCK))
|
||||
// throw RuntimeError("Failed to set non-blocking flag in Comedi FD");
|
||||
|
||||
|
@ -602,7 +602,7 @@ int comedi_read(struct vnode *n, struct sample * const smps[], unsigned cnt)
|
|||
const size_t bytes_left = bytes_available - bytes_consumed;
|
||||
if (bytes_left > 0) {
|
||||
/* Move leftover bytes to the beginning of buffer */
|
||||
/** @todo: optimize? */
|
||||
/** @todo optimize? */
|
||||
memmove(c->buf, c->bufptr, bytes_left);
|
||||
}
|
||||
|
||||
|
|
|
@ -173,7 +173,7 @@ int exec_stop(struct vnode *n)
|
|||
n->logger->debug("Waiting for sub-process with pid={} to terminate", e->proc->getPid());
|
||||
e->proc->close();
|
||||
|
||||
/** @todo: Check exit code of subprocess? */
|
||||
/** @todo Check exit code of subprocess? */
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
|
|
@ -108,7 +108,7 @@ int opal_type_start(villas::node::SuperNode *sn)
|
|||
{
|
||||
int err, noRecvIcons, noSendIcons;
|
||||
|
||||
/* @todo: Port to C++
|
||||
/* @todo Port to C++
|
||||
if (sn->cli.argc != 4)
|
||||
return -1; */
|
||||
|
||||
|
@ -221,7 +221,7 @@ char * opal_print(struct vnode *n)
|
|||
{
|
||||
struct opal *o = (struct opal *) n->_vd;
|
||||
|
||||
/** @todo: Print send_params, recv_params */
|
||||
/** @todo Print send_params, recv_params */
|
||||
|
||||
return strf("sendID=%u, recvID=%u, reply=%u",
|
||||
o->sendID, o->recvID, o->reply);
|
||||
|
|
|
@ -154,7 +154,7 @@ int shmem_read(struct vnode *n, struct sample * const smps[], unsigned cnt)
|
|||
sample_copy_many(smps, shared_smps, recv);
|
||||
sample_decref_many(shared_smps, recv);
|
||||
|
||||
/** @todo: signal descriptions are currently not shared between processes */
|
||||
/** @todo signal descriptions are currently not shared between processes */
|
||||
for (int i = 0; i < recv; i++)
|
||||
smps[i]->signals = &n->in.signals;
|
||||
|
||||
|
|
|
@ -558,7 +558,7 @@ int uldaq_stop(struct vnode *n)
|
|||
|
||||
UlError err;
|
||||
|
||||
/* @todo: Fix deadlock */
|
||||
/* @todo Fix deadlock */
|
||||
//pthread_mutex_lock(&u->in.mutex);
|
||||
|
||||
/* Get the current status of the acquisition */
|
||||
|
|
|
@ -94,7 +94,7 @@ char * socket_print_addr(struct sockaddr *saddr)
|
|||
|
||||
int socket_parse_address(const char *addr, struct sockaddr *saddr, enum SocketLayer layer, int flags)
|
||||
{
|
||||
/** @todo: Add support for IPv6 */
|
||||
/** @todo Add support for IPv6 */
|
||||
union sockaddr_union *sa = (union sockaddr_union *) saddr;
|
||||
|
||||
char *copy = strdup(addr);
|
||||
|
|
|
@ -185,7 +185,7 @@ Web::Web(Api *a) :
|
|||
htdocs(WEB_PATH),
|
||||
api(a)
|
||||
{
|
||||
/** @todo: Port to C++: add LLL_DEBUG and others if trace log level is activated */
|
||||
/** @todo Port to C++: add LLL_DEBUG and others if trace log level is activated */
|
||||
lws_set_log_level(LLL_ERR | LLL_WARN | LLL_NOTICE, lwsLogger);
|
||||
}
|
||||
|
||||
|
|
|
@ -83,7 +83,7 @@ void fill_sample_data(struct vlist *signals, struct sample *smps[], unsigned cnt
|
|||
break;
|
||||
|
||||
case SignalType::COMPLEX: {
|
||||
/** @todo: Port to proper C++ */
|
||||
/** @todo Port to proper C++ */
|
||||
std::complex<float> z = { j * 0.1f, i * 100.0f };
|
||||
memcpy(&data->z, &z, sizeof(data->z));
|
||||
break;
|
||||
|
|
Loading…
Add table
Reference in a new issue