Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: gnss_operations.h
- Revision:
- 16:cb9861f0f4d8
- Parent:
- 14:4b22bd505b93
- Child:
- 18:7adca4350499
diff -r 105cf3ca48c9 -r cb9861f0f4d8 gnss_operations.h --- a/gnss_operations.h Tue Jul 24 16:02:21 2018 +0500 +++ b/gnss_operations.h Wed Aug 01 13:14:52 2018 +0500 @@ -29,12 +29,14 @@ /** The operation modes */ enum Powermodes{ - SEMI_CONTINOUS, - AGGRESSIVE_CONTINUOS, - CONSERVATIVE_CONTINOUS, - FULL_POWER, - AVAILABLE_OPERATION - }; + + CONSERVATIVE_CONTINOUS, + AGGRESSIVE_CONTINUOS, + SEMI_CONTINOUS, + FULL_POWER, + AVAILABLE_OPERATION + }; + class GnssOperations : public GnssSerial{ @@ -54,7 +56,7 @@ int enable_ubx_batch_feature(); int disable_ubx_batch_feature(); int cfg_batch_feature(tUBX_CFG_BATCH *obj); - int cfg_power_mode(int power_mode); + int cfg_power_mode(Powermodes power_mode); int start_mode(int start_mode); void send_to_gnss(char);