jammer fix (#2676)

* jammer fix
This commit is contained in:
Totoo 2025-06-02 13:58:53 +02:00 committed by GitHub
parent fd158e873a
commit 6e9ecf8e7b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -189,7 +189,7 @@ void JammerView::set_jammer_channel(uint32_t i, uint32_t width, uint64_t center,
jammer_channels[i].enabled = true;
jammer_channels[i].width = (width * 0xFFFFFFULL) / 1536000;
jammer_channels[i].center = center;
jammer_channels[i].duration = duration ? 30720 * duration : 0xFFFFFFFF;
jammer_channels[i].duration = duration ? 30720 * duration : 3000;
}
void JammerView::start_tx() {