aboutsummaryrefslogtreecommitdiff
path: root/fmdriver/fmdriver_fmp.h
diff options
context:
space:
mode:
authorTakamichi Horikawa <takamichiho@gmail.com>2017-01-23 20:19:06 +0900
committerTakamichi Horikawa <takamichiho@gmail.com>2017-01-23 20:19:06 +0900
commit91c6b4d62f5545e0095a076e5616b7e1d6e82994 (patch)
treed813a0decbf31b7528e0aef96fc6f8c15a9fc060 /fmdriver/fmdriver_fmp.h
parent0c8d7c868b37e908fb85be05ea7807588a602d76 (diff)
silence compiler warning
Diffstat (limited to 'fmdriver/fmdriver_fmp.h')
-rw-r--r--fmdriver/fmdriver_fmp.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/fmdriver/fmdriver_fmp.h b/fmdriver/fmdriver_fmp.h
index 909387c..d70013c 100644
--- a/fmdriver/fmdriver_fmp.h
+++ b/fmdriver/fmdriver_fmp.h
@@ -108,6 +108,10 @@ struct fmp_ssgenv {
uint8_t release_rate;
};
+enum {
+ PDZF_ENV_VOL_MIN = -15,
+};
+
struct fmp_part {
// 0000
struct {
@@ -377,9 +381,6 @@ struct fmp_part {
PDZF_ENV_OFF,
} status;
uint8_t cnt;
- enum {
- PDZF_ENV_VOL_MIN = -15,
- };
int8_t vol;
} env_state;
bool keyon;