Skip to content
Snippets Groups Projects
Commit 6802a04a authored by Alberto Nidasio's avatar Alberto Nidasio
Browse files

[genutils] Added topic name to event name

parent 74425b02
Branches
No related tags found
No related merge requests found
......@@ -68,6 +68,7 @@ def parse_scxml(file):
(topic, event) = camel_case_to_underscores(
transition.attrib['event']).split('.')
topics.append(topic)
event = topic + "_" + event
else:
event = camel_case_to_underscores(
transition.attrib['event'])
......
......@@ -57,9 +57,9 @@ public:
/**
* @brief Prepare the timer and sets the PWM output to the minimum.
*
* More specifically, the PWM output is prepared to be equal to minPulse bu
* More specifically, the PWM output is prepared to be equal to minPulse but
* it is not enabled! After creating the object the PWM signal is not
* active. This is to ensure
* active. This is to ensure the servo motor doesn't move unexpectedly.
*
* Note that the timer peripheral's clock is enabled automatically when the
* PWM object is created.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment