Skip to content

Commit a849e4b

Browse files
committed
radiobutton: fix unused-parameter build error
Component ignores period, so generated FUNCTION kept an unused long period and tripped -Werror=unused-parameter. Add 'option period no'.
1 parent f108dbd commit a849e4b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/hal/components/radiobutton.comp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ pin in float input-##[32:personality] "Possible output values";
1616
pin out float value "currently-selected output value";
1717

1818
function _;
19+
option period no;
1920
license "GPL 2+";
2021
author "Andy Pugh";
2122

0 commit comments

Comments
 (0)