triggers: refactor: move dmode checking of tdata1 to module_t
The tdata1.dmode is defined at the same level of tdata1.type. As a result, all triggers has a tdata1.dmode field (even the disabled trigger). With the above consideration, we move the tdata1.dmode checking and setting to the same level of tdata1.type, i.e., in module_t.
parent
5d51920d
Please register or sign in to comment