summaryrefslogtreecommitdiff
path: root/Camera.cpp
diff options
context:
space:
mode:
authorXaviDCR92 <xavi.dcr@gmail.com>2018-07-09 22:33:29 +0200
committerXaviDCR92 <xavi.dcr@gmail.com>2018-07-09 22:33:29 +0200
commit8ed9a3a57ad08bac4e8441b0b87ddc946296a3fd (patch)
tree185528a843f4e38d0cc73d8893f3fed7d5639ada /Camera.cpp
parentcd78b97bceaf6ecbbab6f89631c15ed712878d4d (diff)
Fixed "includes/defines/local variables" headers.
Diffstat (limited to 'Camera.cpp')
-rw-r--r--Camera.cpp44
1 files changed, 23 insertions, 21 deletions
diff --git a/Camera.cpp b/Camera.cpp
index 95b334b..6f0fd53 100644
--- a/Camera.cpp
+++ b/Camera.cpp
@@ -1,33 +1,35 @@
-/* *************************************
+/* *******************************************************************
* Includes
- * *************************************/
+ * ******************************************************************/
#include "Camera.h"
+#include <stdint.h>
-/* *************************************
+/* *******************************************************************
* Defines
- * *************************************/
+ * ******************************************************************/
-/* *************************************
- * Structs and enums
- * *************************************/
+#define SPEED_CALCULATION_TIME ((uint8_t)3)
-enum
-{
- SPEED_CALCULATION_TIME = 3
-};
+/* *******************************************************************
+ * Types definition
+ * ******************************************************************/
+
+/* *******************************************************************
+ * Global variables definition
+ * ******************************************************************/
-/* *************************************
- * Global Variables
- * *************************************/
+/* *******************************************************************
+ * Local variables definition
+ * ******************************************************************/
-/* *************************************
- * Local Variables
- * *************************************/
+/* *******************************************************************
+ * Local prototypes declaration
+ * ******************************************************************/
-/* *************************************
- * Local Prototypes
- * *************************************/
+/* *******************************************************************
+ * Functions definition
+ * ******************************************************************/
/*****************************************************************//**
*
@@ -59,7 +61,7 @@ void Camera::getCoordinates(int16_t* const x, int16_t* const y)
/*****************************************************************//**
*
* \brief Event handler executed when human player presses
- * left arrow button.
+ * left button.
*
*********************************************************************/
void Camera::onLeftBtnPressed(void)