Use default parameter values in JORMContext calls where appropriate (#3057)

This commit is contained in:
Max Roncace
2026-01-19 21:18:30 -05:00
committed by GitHub
parent d83996c711
commit 1fba6e13e5
134 changed files with 5369 additions and 6826 deletions
+4 -8
View File
@@ -33,14 +33,10 @@ daAmiShutter_HIO_c::daAmiShutter_HIO_c() {
#if DEBUG
void daAmiShutter_HIO_c::genMessage(JORMContext* i_ctx) {
i_ctx->genSlider("open速度", &mMaxOpenSpeed, 0.1f, 1000.0f,
0, NULL, 0xffff, 0xffff, 512, 24);
i_ctx->genSlider("close速度", &mMaxCloseSpeed, 0.1f, 1000.0f,
0, NULL, 0xffff, 0xffff, 512, 24);
i_ctx->genSlider("range", &mRange, 0.1f, 1000.0f,
0, NULL, 0xffff, 0xffff, 512, 24);
i_ctx->genSlider("waitTime", &mWaitTime, 0, 255,
0, NULL, 0xffff, 0xffff, 512, 24);
i_ctx->genSlider("open速度", &mMaxOpenSpeed, 0.1f, 1000.0f);
i_ctx->genSlider("close速度", &mMaxCloseSpeed, 0.1f, 1000.0f);
i_ctx->genSlider("range", &mRange, 0.1f, 1000.0f);
i_ctx->genSlider("waitTime", &mWaitTime, 0, 255);
}
#endif