Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question ) Module message for fir, auxiliary and panic alarm #292

Open
charon22 opened this issue May 17, 2022 · 0 comments
Open

Question ) Module message for fir, auxiliary and panic alarm #292

charon22 opened this issue May 17, 2022 · 0 comments

Comments

@charon22
Copy link

Hello,

Comparing the newly updated version with the one from a year ago, I have one question.

When the fire, auxiliary and panic keys are pressed using the keypad, the previous code and the current code are different.
However, when I actually tested using the keypad, the previous code came out correctly.
I want to know if the new code is wrong or if there is some other reason.

Previous Code)
void dscKeybusInterface::printModuleMessage() {
switch (moduleData[0]) {
case 0x77: printModule_0x77(); return; // Keypad fire alarm | Structure: complete | Content: complete
case 0xBB: printModule_0xBB(); return; // Keypad auxiliary alarm | Structure: complete | Content: complete
case 0xDD: printModule_0xDD(); return; // Keypad panic alarm | Structure: complete | Content: complete

Current Code)
switch (moduleData[0]) {
case 0xBB: printModule_0xBB(); return; // Keypad fire alarm | Structure: complete | Content: complete
case 0xDD: printModule_0xDD(); return; // Keypad auxiliary alarm | Structure: complete | Content: complete
case 0xEE: printModule_0xEE(); return; // Keypad panic alarm | Structure: complete | Content: complete
}

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant