Skip to content

Commit 9670b99

Browse files
committed
style: updated state machine code with commit hook and updated commit hook to ignore magic_enum
1 parent 150b7d2 commit 9670b99

9 files changed

+1902
-1918
lines changed

.pre-commit-config.yaml

+1
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ repos:
88
^components/esp-dsp/|
99
^components/esp_littlefs/|
1010
^components/lvgl/|
11+
^components/state_machine/include/magic_enum.hpp|
1112
^external/alpaca/|
1213
^external/cli/|
1314
^external/csv2/|

components/state_machine/example/main/Complex_event_data.hpp

+6-11
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
#pragma once
22

3-
namespace espp{
3+
namespace espp {
44
namespace state_machine {
55
namespace Complex {
66

7-
struct ENDEVENTEventData {
8-
};
9-
struct EVENT1EventData {
10-
};
11-
struct EVENT2EventData {
12-
};
13-
struct EVENT3EventData {
14-
};
15-
struct EVENT4EventData {
16-
};
7+
struct ENDEVENTEventData {};
8+
struct EVENT1EventData {};
9+
struct EVENT2EventData {};
10+
struct EVENT3EventData {};
11+
struct EVENT4EventData {};
1712

1813
} // namespace Complex
1914
} // namespace state_machine

0 commit comments

Comments
 (0)