diff options
| author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-07-18 21:40:42 +0200 |
|---|---|---|
| committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2016-07-18 21:40:42 +0200 |
| commit | 91ca5869590ddff5487dc37e72646878582a8a93 (patch) | |
| tree | 7125ee4e676bcb9dce2323887dc24c455e3a3c52 /src/common/includes/Core | |
| parent | 402df95ece825edbc73dc5e03d27ef71ba523fb4 (diff) | |
| download | glutte-o-matic-91ca5869590ddff5487dc37e72646878582a8a93.tar.gz glutte-o-matic-91ca5869590ddff5487dc37e72646878582a8a93.tar.bz2 glutte-o-matic-91ca5869590ddff5487dc37e72646878582a8a93.zip | |
Refactor fsm timing code
Diffstat (limited to 'src/common/includes/Core')
| -rw-r--r-- | src/common/includes/Core/fsm.h | 14 |
1 files changed, 3 insertions, 11 deletions
diff --git a/src/common/includes/Core/fsm.h b/src/common/includes/Core/fsm.h index 80fc5a1..5ac353e 100644 --- a/src/common/includes/Core/fsm.h +++ b/src/common/includes/Core/fsm.h @@ -1,7 +1,7 @@ /* * The MIT License (MIT) * - * Copyright (c) 2016 Matthias P. Braendli + * Copyright (c) 2016 Matthias P. Braendli, Maximilien Cuony * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal @@ -20,11 +20,9 @@ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. -*/ - -#ifndef _FSM_H_ -#define _FSM_H_ + */ +#pragma once #include <stdint.h> // List of all states the FSM of the relay can be in @@ -104,9 +102,3 @@ void fsm_get_outputs(struct fsm_output_signals_t* out); // Announce a state change void fsm_state_switched(const char *new_state); -uint64_t fsm_current_state_time_ms(void); -uint64_t fsm_current_state_time_s(void); -const char* fsm_select_letter(void); - -#endif // _FSM_H_ - |
