Skip to content

Commit 848bb38

Browse files
committed
camelcase :(
1 parent 88b69cf commit 848bb38

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

app/samples/phase_detection/src/flight.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ using Controller = CPhaseController<Events, Events::NumEvents, Sources, Sources:
4141
/**
4242
* Special events triggered not by sensors but by timers between phases
4343
*/
44-
inline std::array<Controller::TimerEvent, num_timer_events> timer_events = {
44+
inline std::array<Controller::TimerEvent, num_timer_events> timerEvents = {
4545
// The engine should burn for around X seconds. don't detect coast unless the engine has been firing for a bit
4646
// Can be implemented as a lockout or as another way of progressing states if you don't want to do unboost detection
4747
Controller::TimerEvent{
@@ -126,4 +126,4 @@ inline constexpr std::array<Controller::DecisionFunc, Events::NumEvents> decider
126126
return arr;
127127
}();
128128

129-
#endif
129+
#endif

app/samples/phase_detection/src/main.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ void event_handler(Controller::EventNotification event) {
237237
}
238238

239239
int main() {
240-
Controller controller{sourceNames, eventNames, timer_events, deciders, event_handler};
240+
Controller controller{sourceNames, eventNames, timerEvents, deciders, event_handler};
241241

242242
k_thread_create(&barom_thread_data, barom_thread_stack_area, K_THREAD_STACK_SIZEOF(barom_thread_stack_area),
243243
barom_thread_f, &controller, NULL, NULL, 0, 0, K_NO_WAIT);

0 commit comments

Comments
 (0)