reusing constant
This commit is contained in:
parent
d9b96fe509
commit
688a85a25d
|
@ -15,7 +15,7 @@
|
||||||
EXTERN_ENGINE;
|
EXTERN_ENGINE;
|
||||||
|
|
||||||
// this is not the only place where we have 'isUpEvent'. todo: reuse
|
// this is not the only place where we have 'isUpEvent'. todo: reuse
|
||||||
static const bool isRisingEdge[6] = { false, true, false, true, false, true };
|
static const bool isRisingEdge[HW_EVENT_TYPES] = { false, true, false, true, false, true };
|
||||||
|
|
||||||
// todo: should this method be invoked somewhere deeper? at the moment we have too many usages too high
|
// todo: should this method be invoked somewhere deeper? at the moment we have too many usages too high
|
||||||
bool isUsefulSignal(trigger_event_e signal DECLARE_CONFIG_PARAMETER_SUFFIX) {
|
bool isUsefulSignal(trigger_event_e signal DECLARE_CONFIG_PARAMETER_SUFFIX) {
|
||||||
|
|
Loading…
Reference in New Issue