mirror of
https://git.rwth-aachen.de/acs/public/villas/node/
synced 2025-03-09 00:00:00 +01:00
adapt code style
This commit is contained in:
parent
e1c6d3a90a
commit
8feb71e1ae
2 changed files with 4 additions and 4 deletions
|
@ -68,7 +68,7 @@ void Dumper::closeSocket()
|
|||
close(socketFd);
|
||||
}
|
||||
|
||||
void Dumper::writeData(uint len, double* yData, double* xData)
|
||||
void Dumper::writeData(uint len, double *yData, double *xData)
|
||||
{
|
||||
ssize_t bytesWritten;
|
||||
|
||||
|
|
|
@ -298,9 +298,9 @@ public:
|
|||
virtual Hook::Reason process(sample *smp)
|
||||
{
|
||||
assert(state == State::STARTED);
|
||||
for (uint i = 0; i< signalCnt; i++) {
|
||||
for (uint i = 0; i< signalCnt; i++)
|
||||
smp_memory[i][smp_mem_pos % window_size] = smp->data[signal_index[i]].f;
|
||||
}
|
||||
|
||||
smp_mem_pos++;
|
||||
|
||||
bool runDft = false;
|
||||
|
@ -368,7 +368,7 @@ public:
|
|||
/* mem size needs to be equal to window size */
|
||||
void calcDft(paddingType padding, double *ringBuffer, uint ringBufferPos) {
|
||||
|
||||
//prepare sample window The following parts can be combined
|
||||
/* prepare sample window The following parts can be combined */
|
||||
double tmp_smp_window[window_size];
|
||||
|
||||
for (uint i = 0; i< window_size; i++)
|
||||
|
|
Loading…
Add table
Reference in a new issue