1
0
mirror of https://github.com/gnss-sdr/gnss-sdr synced 2024-11-14 13:54:57 +00:00

Telecommand status: mark functions as const

This commit is contained in:
Álvaro Cebrián Juan 2020-09-02 01:10:46 +02:00
parent 15713fc4bb
commit 585754a665
2 changed files with 2 additions and 2 deletions

View File

@ -86,7 +86,7 @@ public:
inline std::shared_ptr<TrackingInterface> tracking() const { return trk_; }
inline std::shared_ptr<TelemetryDecoderInterface> telemetry() const { return nav_; }
inline uint32_t fsm_state() { return channel_fsm_->state(); }
inline uint32_t fsm_state() const { return channel_fsm_->state(); }
private:
std::shared_ptr<ChannelFsm> channel_fsm_;

View File

@ -58,7 +58,7 @@ public:
virtual bool Event_failed_acquisition_repeat();
virtual bool Event_failed_acquisition_no_repeat();
inline uint32_t state() { return state_; }
inline uint32_t state() const { return state_; }
private:
void start_tracking();