minor edit to documentation wording
This commit is contained in:
parent
293d74e396
commit
a4435242f8
|
@ -159,7 +159,7 @@ namespace sb
|
||||||
/*!
|
/*!
|
||||||
* Set the function that will run when a pad object is clicked.
|
* Set the function that will run when a pad object is clicked.
|
||||||
*
|
*
|
||||||
* Example, always keep state true and print "Hello, World!" whenever the pad is clicked,
|
* This example always keeps the state true and prints "Hello, World!" whenever the pad is clicked,
|
||||||
*
|
*
|
||||||
* start_button.on_state_change([&](bool state, int count){
|
* start_button.on_state_change([&](bool state, int count){
|
||||||
* if (state) {
|
* if (state) {
|
||||||
|
|
Loading…
Reference in New Issue