Skip to content

Commit

Permalink
Merge pull request #22 from akadamson/master
Browse files Browse the repository at this point in the history
updated startup delay with slow flashing led
  • Loading branch information
akadamson committed Nov 16, 2013
2 parents 2d9e3f5 + 1dceb89 commit d7097b1
Show file tree
Hide file tree
Showing 7 changed files with 2,930 additions and 2,914 deletions.
Binary file modified built-versions/0.4/STM32Gimbal.USB.bin
Binary file not shown.
Binary file modified built-versions/0.4/STM32Gimbal.bin
Binary file not shown.
5,829 changes: 2,919 additions & 2,910 deletions built-versions/0.4/STM32Gimbal.hex

Large diffs are not rendered by default.

Binary file modified built-versions/0.4/STM32Gimbal.zip
Binary file not shown.
8 changes: 6 additions & 2 deletions history.md
Original file line number Diff line number Diff line change
Expand Up @@ -216,8 +216,12 @@
- added acc007 changes for debug/desk config of board when no IMU is present
- updated attitude with paulphil changes for pitch greater than 45 degrees
- updated rc pwm detect for futaba receievers
- Released 0.4.4
- Released 0.4.4 firmware

20131115
- added delay to startup to allow gimbal to settle
- Released 0.4.5
- Released 0.4.5 firmware

20131116
- tweaking startup delay and added slow flashing LED
- Release 0.4.5.1 firmware
5 changes: 4 additions & 1 deletion src/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#include "hw_config.h"
#include "stm32f10x_tim.h"

#define SETTLE_PAUSE 20
#define SETTLE_PAUSE 13

static volatile int WatchDogCounter;
static volatile int gotIMU = 0;
Expand Down Expand Up @@ -75,6 +75,8 @@ void setup(void)
Delay_ms(100); //short blink
}

LEDoff();

if (GetVCPConnectMode() != eVCPConnectReset)
{
print("\r\nUSB startup delay...\r\n");
Expand Down Expand Up @@ -132,6 +134,7 @@ void setup(void)

for (int i = 0; i < SETTLE_PAUSE; i++)
{
LEDtoggle();
Delay_ms(1000);
}

Expand Down
2 changes: 1 addition & 1 deletion src/main.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
#define MAIN_H_

// software version number
#define __EV_VERSION "0.4.5"
#define __EV_VERSION "0.4.5.1"

float GetIdlePerf(void);

Expand Down

0 comments on commit d7097b1

Please sign in to comment.