aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xlaser-tag software/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/laser-tag software/main.c b/laser-tag software/main.c
index 8c226b4..2a6fdce 100755
--- a/laser-tag software/main.c
+++ b/laser-tag software/main.c
@@ -61,6 +61,7 @@ static const uint8_t *images[] = {
static const int image_count = sizeof images / sizeof *images;
static int current_image = 0;
static volatile int cue_next_image = 0;
+static uint32_t laser_pulse_length = 32;
////////////////////////////
@@ -305,7 +306,7 @@ static void lptmr_call_back(void)
/* FIRE THE LASER */
if (laser_on) {
- LPUART_DRV_SendData(1, txBuff, 1);
+ LPUART_DRV_SendData(1, txBuff, laser_pulse_length);
}
/* countdown to turn off LED */