Wajahat Abbas / gnss
Revision:
16:cb9861f0f4d8
Parent:
14:4b22bd505b93
Child:
18:7adca4350499
--- 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);