Skip to content

Commit 07f821f

Browse files
authored
Fix doc example -> fsm crusing
1 parent 0347ce6 commit 07f821f

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/pages/ext_fsm.dox

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -771,13 +771,15 @@
771771
*
772772
* qSM_Transition_t cruising_transitions[] =
773773
* {
774-
* { SIGNAL_OFF, NULL, &state_cruisingoff , 0, NULL },
775-
* { SIGNAL_ACCEL, NULL, &state_accelerating , 0, NULL }
774+
* { SIGNAL_OFF, NULL, &state_cruisingoff , 0, NULL },
775+
* { SIGNAL_ACCEL, NULL, &state_accelerating , 0, NULL }
776776
* };
777777
*
778778
* qSM_Transition_t resuming_transitions[] =
779779
* {
780-
* { SIGNAL_ACCEL, NULL, &state_accelerating , 0, NULL }
780+
* { SIGNAL_OFF, NULL, &state_cruisingoff , 0, NULL },
781+
* { SIGNAL_ACCEL, NULL, &state_accelerating , 0, NULL },
782+
* { SIGNAL_REACHED_CRUISING, NULL, &state_cruising , 0, NULL }
781783
* };
782784
*
783785
* qSM_Transition_t cruisingoff_transitions[] =
@@ -990,4 +992,4 @@
990992
* qOS_Add_StateMachineTask( &SMTask , &super , qMedium_Priority , 0.1f, qEnabled , NULL );
991993
* @endcode
992994
*
993-
*/
995+
*/

0 commit comments

Comments
 (0)