SmartCAMPUSZCU / KETCube-fw

KETCube firmware
Other
1 stars 1 forks source link

Driver severity-level settings #9

Closed belohoub closed 5 years ago

belohoub commented 5 years ago

Options: 1) take the severity from module (define "module context") 2) take the core's severity 3) use special severity level settings for drivers/per driver

belohoub commented 5 years ago

1) can be handled by core - core sets the "context" when calling any module callback function -> I would prefer this option

2) this is the simplest solution, disadwantage is that it is not possible to limit severity to only one driver

3) If all drivers will be set together, the disadwantage is similar to previous point. If drivers would have their own settings associated with, it would require some "driver cfg management"