CANopenNode / CANopenEditor

CANopen Object Dictionary Editor
GNU General Public License v3.0
141 stars 64 forks source link

Set default value to all subs without default value #141

Closed trojanobelix closed 3 weeks ago

trojanobelix commented 3 weeks ago

I find it annoying to set the default value individually for many subs. Often they should all be set to the same value.

The PR sets all empty values that are not set to the one just entered. Can then be changed at any time. Better a wrong one than none.

Not setting some leads to warnings when saving (I assume that DS301 does not allow this, but I am unsure).

Comments wellcome.

trojanobelix commented 3 weeks ago

wrong code