mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-01 06:24:07 +08:00
tunes: change tune update interval to 100000 us
This commit is contained in:
parent
0f1f2d870f
commit
d5b2ba276b
@ -42,7 +42,7 @@
|
||||
// TODO: find better way to include the number of tunes, maybe include them in the lib directly?
|
||||
#include <drivers/drv_tone_alarm.h>
|
||||
|
||||
#define TUNE_MAX_UPDATE_INTERVAL_US 330000
|
||||
#define TUNE_MAX_UPDATE_INTERVAL_US 100000
|
||||
|
||||
class Tunes
|
||||
{
|
||||
@ -115,6 +115,7 @@ private:
|
||||
|
||||
unsigned _frequency;
|
||||
unsigned _duration;
|
||||
unsigned _silence;
|
||||
bool _using_custom_msg = false;
|
||||
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user