projects
/
pub
/
USBasp.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Extend USB_GetDeviceConfigDescriptor() routine to require the configuration number...
[pub/USBasp.git]
/
Projects
/
MissileLauncher
/
MissileLauncher.c
diff --git
a/Projects/MissileLauncher/MissileLauncher.c
b/Projects/MissileLauncher/MissileLauncher.c
index
2782b69
..
bd542ee
100644
(file)
--- a/
Projects/MissileLauncher/MissileLauncher.c
+++ b/
Projects/MissileLauncher/MissileLauncher.c
@@
-54,40
+54,40
@@
#include "MissileLauncher.h"
\r
\r
/** Launcher first init command report data sequence */
\r
#include "MissileLauncher.h"
\r
\r
/** Launcher first init command report data sequence */
\r
-
static const
uint8_t CMD_INITA[8] = { 85, 83, 66, 67, 0, 0, 4, 0 };
\r
+uint8_t CMD_INITA[8] = { 85, 83, 66, 67, 0, 0, 4, 0 };
\r
\r
/** Launcher second init command report data sequence */
\r
\r
/** Launcher second init command report data sequence */
\r
-
static const
uint8_t CMD_INITB[8] = { 85, 83, 66, 67, 0, 64, 2, 0 };
\r
+uint8_t CMD_INITB[8] = { 85, 83, 66, 67, 0, 64, 2, 0 };
\r
\r
/** Launcher command report data sequence to stop all movement */
\r
\r
/** Launcher command report data sequence to stop all movement */
\r
-
static const
uint8_t CMD_STOP[8] = { 0, 0, 0, 0, 0, 0, 8, 8 };
\r
+uint8_t CMD_STOP[8] = { 0, 0, 0, 0, 0, 0, 8, 8 };
\r
\r
/** Launcher command report data sequence to move left */
\r
\r
/** Launcher command report data sequence to move left */
\r
-
static const
uint8_t CMD_LEFT[8] = { 0, 1, 0, 0, 0, 0, 8, 8 };
\r
+uint8_t CMD_LEFT[8] = { 0, 1, 0, 0, 0, 0, 8, 8 };
\r
\r
/** Launcher command report data sequence to move right */
\r
\r
/** Launcher command report data sequence to move right */
\r
-
static const
uint8_t CMD_RIGHT[8] = { 0, 0, 1, 0, 0, 0, 8, 8 };
\r
+uint8_t CMD_RIGHT[8] = { 0, 0, 1, 0, 0, 0, 8, 8 };
\r
\r
/** Launcher command report data sequence to move up */
\r
\r
/** Launcher command report data sequence to move up */
\r
-
static const
uint8_t CMD_UP[8] = { 0, 0, 0, 1, 0, 0, 8, 8 };
\r
+uint8_t CMD_UP[8] = { 0, 0, 0, 1, 0, 0, 8, 8 };
\r
\r
/** Launcher command report data sequence to move down */
\r
\r
/** Launcher command report data sequence to move down */
\r
-
static const
uint8_t CMD_DOWN[8] = { 0, 0, 0, 0, 1, 0, 8, 8 };
\r
+uint8_t CMD_DOWN[8] = { 0, 0, 0, 0, 1, 0, 8, 8 };
\r
\r
/** Launcher command report data sequence to move left and up */
\r
\r
/** Launcher command report data sequence to move left and up */
\r
-
static const
uint8_t CMD_LEFTUP[8] = { 0, 1, 0, 1, 0, 0, 8, 8 };
\r
+uint8_t CMD_LEFTUP[8] = { 0, 1, 0, 1, 0, 0, 8, 8 };
\r
\r
/** Launcher command report data sequence to move right and up */
\r
\r
/** Launcher command report data sequence to move right and up */
\r
-
static const
uint8_t CMD_RIGHTUP[8] = { 0, 0, 1, 1, 0, 0, 8, 8 };
\r
+uint8_t CMD_RIGHTUP[8] = { 0, 0, 1, 1, 0, 0, 8, 8 };
\r
\r
/** Launcher command report data sequence to move left and down */
\r
\r
/** Launcher command report data sequence to move left and down */
\r
-
static const
uint8_t CMD_LEFTDOWN[8] = { 0, 1, 0, 0, 1, 0, 8, 8 };
\r
+uint8_t CMD_LEFTDOWN[8] = { 0, 1, 0, 0, 1, 0, 8, 8 };
\r
\r
/** Launcher command report data sequence to move right and down */
\r
\r
/** Launcher command report data sequence to move right and down */
\r
-
static const
uint8_t CMD_RIGHTDOWN[8] = { 0, 0, 1, 0, 1, 0, 8, 8 };
\r
+uint8_t CMD_RIGHTDOWN[8] = { 0, 0, 1, 0, 1, 0, 8, 8 };
\r
\r
/** Launcher command report data sequence to fire a missile */
\r
\r
/** Launcher command report data sequence to fire a missile */
\r
-
static const
uint8_t CMD_FIRE[8] = { 0, 0, 0, 0, 0, 1, 8, 8 };
\r
+uint8_t CMD_FIRE[8] = { 0, 0, 0, 0, 0, 1, 8, 8 };
\r
\r
/** Last command sent to the launcher, to determine what new command (if any) must be sent */
\r
uint8_t* CmdState;
\r
\r
/** Last command sent to the launcher, to determine what new command (if any) must be sent */
\r
uint8_t* CmdState;
\r