Update comments in website code
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful
Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
parent
19b6c78cb1
commit
bc643aefe3
2 changed files with 3 additions and 2 deletions
|
@ -1,6 +1,7 @@
|
||||||
class Constants {
|
class Constants {
|
||||||
/**
|
/**
|
||||||
* The amount of time in ms a symbol takes to transmit.
|
* The amount of time in ms a code bit takes to transmit. Double this value
|
||||||
|
* to get the transfer speed in per bit.
|
||||||
*
|
*
|
||||||
* @type {Number}
|
* @type {Number}
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -168,7 +168,7 @@ async function transmitSignal(signal) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
console.log(`Sending symbol ${i + 1} of ${signal.length} of packet: ${signal[i]}`);
|
console.log(`Sending code bit ${i + 1} of ${signal.length} of packet: ${signal[i]}`);
|
||||||
await transmitBit(signal[i], Constants.CLOCK_TIME);
|
await transmitBit(signal[i], Constants.CLOCK_TIME);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in a new issue