Update comments in website code
All checks were successful
ci/woodpecker/push/woodpecker Pipeline was successful

Signed-off-by: Severin Kaderli <severin@kaderli.dev>
This commit is contained in:
Severin Kaderli 2023-01-10 21:04:53 +01:00
parent 19b6c78cb1
commit bc643aefe3
Signed by: severinkaderli
GPG key ID: F419F8835B72F0C4
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,7 @@
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}
*/

View file

@ -168,7 +168,7 @@ async function transmitSignal(signal) {
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);
}
}