|
PX4 Firmware
PX4 Autopilot Software http://px4.io
|
#include "tunes.h"#include <px4_platform_common/log.h>#include <math.h>#include <ctype.h>#include <errno.h>Go to the source code of this file.
Macros | |
| #define | TUNE_CONTINUE 1 |
| #define | TUNE_ERROR -1 |
| #define | TUNE_STOP 0 |
| #define | BEAT_TIME_CONVERSION_MS (60 * 1000 * 4) |
| #define | BEAT_TIME_CONVERSION_US BEAT_TIME_CONVERSION_MS * 1000 |
| #define | BEAT_TIME_CONVERSION BEAT_TIME_CONVERSION_US |
| #define BEAT_TIME_CONVERSION BEAT_TIME_CONVERSION_US |
Definition at line 51 of file tunes.cpp.
Referenced by Tunes::note_duration(), and Tunes::rest_duration().
| #define BEAT_TIME_CONVERSION_US BEAT_TIME_CONVERSION_MS * 1000 |
| #define TUNE_CONTINUE 1 |
Definition at line 45 of file tunes.cpp.
Referenced by Tunes::get_next_note(), and Tunes::tune_end().
| #define TUNE_ERROR -1 |
Definition at line 46 of file tunes.cpp.
Referenced by Tunes::tune_error().
| #define TUNE_STOP 0 |
Definition at line 47 of file tunes.cpp.
Referenced by Tunes::tune_end().