mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-23 01:53:51 +02:00
Fix
This commit is contained in:
@@ -79,7 +79,7 @@ module.exports = class MorseCommand extends Command {
|
|||||||
if (i > dashSamples) {
|
if (i > dashSamples) {
|
||||||
data[(currentIndex * dashSamples) + i] = 127;
|
data[(currentIndex * dashSamples) + i] = 127;
|
||||||
} else {
|
} else {
|
||||||
const libIndex = this.library[44 + dashSamples + i];
|
const libIndex = this.library[44 + dotSamples + i];
|
||||||
data[(currentIndex * dashSamples) + i] = libIndex;
|
data[(currentIndex * dashSamples) + i] = libIndex;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user