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