1
0
Fork 0
mirror of https://git.rwth-aachen.de/acs/public/villas/node/ synced 2025-03-09 00:00:00 +01:00

Replace last tab indentation with spaces

Signed-off-by: Steffen Vogel <post@steffenvogel.de>
This commit is contained in:
Steffen Vogel 2024-02-29 21:58:34 +01:00
parent 0382475e47
commit 0879f7952d
6 changed files with 32 additions and 32 deletions

View file

@ -13,10 +13,10 @@ The pcimem application provides a simple method of reading and writing
to memory registers on a PCI card.
Usage: ./pcimem { sys file } { offset } [ type [ data ] ]
sys file: sysfs file for the pci resource to act on
offset : offset into pci memory region to act upon
type : access operation type : [b]yte, [h]alfword, [w]ord
data : data to be written
sys file: sysfs file for the pci resource to act on
offset : offset into pci memory region to act upon
type : access operation type : [b]yte, [h]alfword, [w]ord
data : data to be written
## Platform Support

View file

@ -17,7 +17,7 @@
extern "C" {
/* Define RTLAB before including OpalPrint.h for messages to be sent
* to the OpalDisplay. Otherwise stdout will be used. */
* to the OpalDisplay. Otherwise stdout will be used. */
#define RTLAB
#include <OpalPrint.h>
}

View file

@ -140,9 +140,9 @@ public:
void checkPrepared();
/* Start a path.
*
* Start a new pthread for receiving/sending messages over this path.
*/
*
* Start a new pthread for receiving/sending messages over this path.
*/
void start();
// Stop a path.
@ -154,13 +154,13 @@ public:
unsigned getOutputSignalsMaxCount();
/* Parse a single path and add it to the global configuration.
*
* @param json A JSON object containing the configuration of the path.
* @param p Pointer to the allocated memory for this path
* @param nodes A linked list of all existing nodes
* @retval 0 Success. Everything went well.
* @retval <0 Error. Something went wrong.
*/
*
* @param json A JSON object containing the configuration of the path.
* @param p Pointer to the allocated memory for this path
* @param nodes A linked list of all existing nodes
* @retval 0 Success. Everything went well.
* @retval <0 Error. Something went wrong.
*/
void parse(json_t *json, NodeList &nodes, const uuid_t sn_uuid);
void parseMask(json_t *json_mask, NodeList &nodes);

View file

@ -165,7 +165,7 @@ void RelayConnection::read(void *in, size_t len) {
auto c = p.second;
/* We skip the current connection in order
* to avoid receiving our own data */
* to avoid receiving our own data */
if (loopback == false && c == this)
continue;

View file

@ -382,12 +382,12 @@ ParameterizedTest(Param *p, format, highlevel, .init = init_memory) {
cr_assert_eq(ret, 0);
#if 0 // Show the file contents
char cmd[128];
if (p->fmt == "csv" || p->fmt == "json" || p->fmt == "villas.human")
snprintf(cmd, sizeof(cmd), "cat %s", fn);
else
snprintf(cmd, sizeof(cmd), "hexdump -C %s", fn);
system(cmd);
char cmd[128];
if (p->fmt == "csv" || p->fmt == "json" || p->fmt == "villas.human")
snprintf(cmd, sizeof(cmd), "cat %s", fn);
else
snprintf(cmd, sizeof(cmd), "hexdump -C %s", fn);
system(cmd);
#endif
rewind(stream);

View file

@ -22,17 +22,17 @@ ARGS=${@:2}
# Check if tool is available
if ! echo ${SUBTOOLS} | grep -wqFe "${SUBTOOL}"; then
echo "Usage: villas [-h | --help | TOOL]"
echo " TOOL is one of ${SUBTOOLS}"
echo
echo "For detailed documentation, please see: 'villas node'"
echo " http://villas.fein-aachen.org/doc/"
echo
echo "Usage: villas [-h | --help | TOOL]"
echo " TOOL is one of ${SUBTOOLS}"
echo
echo "For detailed documentation, please see: 'villas node'"
echo " http://villas.fein-aachen.org/doc/"
echo
# Show VILLASnode copyright and contact info
villas-node -h | tail -n3
echo "-h" "--help" | grep -wqFe "${SUBTOOL}"
exit $?
# Show VILLASnode copyright and contact info
villas-node -h | tail -n3
echo "-h" "--help" | grep -wqFe "${SUBTOOL}"
exit $?
fi
exec villas-${SUBTOOL} ${ARGS}