A simple queue Class

Dependents:   MxSniffer

Revision:
1:abfd5885f80d
Parent:
0:0237fc3fb9ca
--- a/Queue.h	Thu Apr 09 09:38:32 2015 +0000
+++ b/Queue.h	Thu Apr 09 09:43:56 2015 +0000
@@ -4,15 +4,11 @@
  *  Created on: 2013-5-9
  *      Author: fu
  */
-
 #ifndef QUEUE_H_
 #define QUEUE_H_
-
 #include "stdint.h"
 #define PACKAGE_MAX 128
 #define RFQUENEMAX 100
-
-
 struct RfData
 {
 	uint8_t rbuf[PACKAGE_MAX];
@@ -27,9 +23,8 @@
 
 class  QUEUE {
 private:
-
 	uint8_t front;
-	uint8_t rear;;
+	uint8_t rear;
 public:
 	struct RfData RfData[RFQUENEMAX];
 	QUEUE();
@@ -38,7 +33,6 @@
 	uint8_t dequeue();
 	void undodequeue();
 	uint8_t peerqueue();
-
 };
 
 #endif /* QUEUE_H_ */