1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-21 15:25:36 +03:00
Commit graph

14917 commits

Author SHA1 Message Date
Dominic Clifton
1a2ef223a0 SPARKY - Apply Oneshot/PPM timer clash fix.
Closes #756.
2015-04-14 19:29:11 +01:00
Dominic Clifton
436d2ed591 Disable VBAT feature by defualt unless target has on-board voltage
divider.
2015-04-14 16:37:47 +01:00
Dominic Clifton
0dd84f587f Merge pull request #767 from sherlockflight/mixer-profile-cli
Fix CLI: mixer settings should be master values, not profile values
2015-04-14 16:19:20 +01:00
Dominic Clifton
78a4476506 Fix comment typo in failsafe.c 2015-04-14 13:59:11 +01:00
Dominic Clifton
f28158a5a7 Cleanup debug code. 2015-04-14 13:59:11 +01:00
Nicholas Sherlock
645f4a4d3b Fix CLI: mixer settings should be master values, not profile values 2015-04-14 11:49:20 +12:00
Bas Huisman
65b6041d1f fix voltage calculation for smartport telemetry 2015-04-13 10:14:55 +02:00
Ben Hitchcock
0359a3280b Bugfix to stop altitude hold drift, especially noticeable in sonar mode.
This uses the raw stick values instead of the calculated RCCommand values to determine whether or not the stick has moved.  The problem was that the RcCommand variable wasn't being reset to the stick position each loop, and so outputs were being treated as inputs.
2015-04-12 15:06:04 +08:00
Dominic Clifton
c11c25514b SPRACING32/NAZE32 - Add support for MPU6050 data ready interrupt.
Currently the interrupt handler is unused.  Later it can be used as a
potential source for watchdog checking or to syncronize the system
around new acc/gyro data availability.

Verified on Naze32 rev 3/4/5 and SPRacingF3 targets.
2015-04-11 19:18:11 +01:00
Samuel Brucksch
c8a33ab1db Update frsky.c
Changed to a faster calculation
2015-04-08 22:44:44 +02:00
Dominic Clifton
d3d9721e91 NAZE - Add support for Naze32_SP (aka PARIS Sirius Air HERO 32). 2015-04-08 20:09:53 +01:00
Dominic Clifton
749160f20e Reset to bootloader after failure mode to allow re-flashing. 2015-04-08 20:07:48 +01:00
Samuel Brucksch
8f165e5224 Update frsky.c
fixed compiling issue
2015-04-08 10:48:22 +02:00
Samuel Brucksch
07294f4d3a Update frsky.c
fixed cast
2015-04-08 09:32:08 +02:00
Samuel Brucksch
ce4379af47 Update frsky.c
changed speed from cm/s to knots
2015-04-08 09:26:32 +02:00
Dominic Clifton
599cd68c16 Bump version to 1.9.0. 2015-04-07 21:34:33 +01:00
Dominic Clifton
caf253e4f8 Automatically disable pid_at_min_throttle when retarded_arm is
enabled.  Closes #719.
2015-04-07 20:59:38 +01:00
Dominic Clifton
0456444cfb Fix compilation of HoTT telemetry unit test. 2015-04-07 20:33:34 +01:00
Dominic Clifton
7d9fc2699a Merge branch 'PA_update1' of git://github.com/Pierre-A/cleanflight into Pierre-A-PA_update1
Conflicts:
	src/main/config/config.c
	src/main/io/serial_cli.c
	src/main/telemetry/hott.c
	src/main/telemetry/telemetry.h
2015-04-07 20:33:03 +01:00
digitalentity
6e041c57dd Added median filter implementation. Added 3-point median filter to generic barometer code. 2015-04-07 19:58:20 +01:00
Dominic Clifton
9065efed94 BMP085 code cleanup. 2015-04-07 19:50:29 +01:00
digitalentity
0134e19edf Avoid reading data from BMP085 when no EOC event occured 2015-04-07 19:31:43 +01:00
E Thomas
f02d7403af Port of refactored beeper code 181_1
This the "Port of refactored beeper code #669" modification applied to
version 1.8.1 (4/4/2015) of the code.
2015-04-04 17:54:44 -04:00
Petr Ledvina
a189d8e7fb fix barometer timing code
Delays between baro calls are modified to always take at least specified amount of time
2015-04-04 01:28:01 +02:00
Dominic Clifton
b9664f1e99 Bump version to 1.8.1 2015-04-01 22:13:13 +01:00
Dominic Clifton
7efdcf13e3 Merge pull request #699 from pinkywafer/frsky_RPM_telemetry_fix
FrSky RPM Telemetry Motor_Stop Bugfix
2015-04-01 22:09:36 +01:00
Dominic Clifton
27ea92f36c Merge pull request #690 from ledvinap/fix-sparky-smartport
Fix sparky smartport
2015-04-01 20:18:12 +01:00
Dominic Clifton
8a7edb17ed Merge branch 'softserial-enabled' of git://github.com/sherlockflight/cleanflight-dev into sherlockflight-softserial-enabled 2015-04-01 20:06:08 +01:00
Dominic Clifton
09fe71c256 Removed unneeded check - gpio.h no-longer included by unit tests. 2015-04-01 17:47:43 +01:00
Dominic Clifton
de630fea17 SPARKY - Enable autotune 2015-04-01 17:25:46 +01:00
Dominic Clifton
08a3db00a5 Remove unused variable warning. 2015-04-01 14:12:31 +01:00
Dominic Clifton
b0b1eaf9c7 Add first unit test for some code in serial.c. Fix compiler warnings in
other tests.
2015-04-01 14:12:24 +01:00
Nicholas Sherlock
dce873434b Use SERIAL_PORT_NONE identifier to mark ports which are unavailable 2015-04-02 01:55:13 +13:00
Nicholas Sherlock
86ddf27515 Don't allow softserial ports to be opened if softserial isn't enabled 2015-04-02 00:24:28 +13:00
pinkywafer
7220365575 RPM_Motor_Stop_Bugfix
using calculateThrottleStatus, send 0 as RPM when THROTTLE_LOW and
MOTOR_STOP
2015-03-31 19:06:15 +01:00
Petr Ledvina
3faa8a200b Answer only on one SmartPort ID
Receiver polls all active IDs, then tries one inactive. Answering multiple IDs will starve other devices on bus and it will increase probability of address collision.
With 1 active address poll interval is ~24ms
2015-03-31 15:01:36 +02:00
Petr Ledvina
7f3f53d880 Enable telemetry on SPARKY 2015-03-31 15:01:35 +02:00
Petr Ledvina
4c60f6c795 Fix 303 serial inversion and bidir mode
- USART_HalfDuplexCmd must be called only when USART is disabled
- input should be PullDown for inverted serial
- INVERTED BIDIR mode changed to GPIO_OType_PP (not opendrain) - opendrain won't work well for inverted serial; USART releases pin when transmission is done, so PP is OK
2015-03-31 15:01:28 +02:00
Per Magnus Auby
b83b9040f9 Updates sonar so that it can be used together with ADC current meter
Check if ADC current meter is enabled in sonarInit() and change
sonar pins to pwm 5 and 6 if it is. Same as when RX_PARALLEL is enabled.
2015-03-31 13:47:17 +02:00
Dominic Clifton
6e8d081c45 Updating Sparky board with a note regarding LED color differences
between Rev 1 & 2 boards.
2015-03-30 22:03:10 +01:00
Dominic Clifton
766b890896 Remove duplicate defines from SPRacingF3 target.h 2015-03-30 21:32:36 +01:00
Dominic Clifton
d33e4e6afd Merge branch 'Battery_monitoring' of git://github.com/MJ666/cleanflight into MJ666-Battery_monitoring 2015-03-30 19:44:33 +01:00
Dominic Clifton
80a6507649 Merge branch 'VCM_motor_stop_fix' of git://github.com/pinkywafer/cleanflight into pinkywafer-VCM_motor_stop_fix 2015-03-30 19:29:40 +01:00
Dominic Clifton
6922857db0 Merge pull request #683 from sherlockflight/flash-N25Q064
Add support for Micron N25Q064 64Mbit SPI flash
2015-03-30 11:35:42 +01:00
Dominic Clifton
20fd7b8491 Merge pull request #565 from mosh1/new_failsafe_defaults
Default failsafe enabled and throttle off when no valid PPM signal is se...
2015-03-30 11:15:25 +01:00
Nicholas Sherlock
7940ac2030 Blackbox: Don't log amperageADC when current meter is virtual
Closes #685
2015-03-30 20:34:36 +13:00
Nicholas Sherlock
85dc16f96d Add support for Micron N25Q064 64-mbit SPI flash 2015-03-30 18:17:56 +13:00
Nicholas Sherlock
01b811cd8c Add support for Winbond 64Mbit SPI flash chip 2015-03-30 12:04:41 +13:00
Dominic Clifton
f24782b961 Fix duplicate MSP codes. 2015-03-29 14:23:12 +01:00
Dominic Clifton
60835923c4 Use MSP command IDs in the correct assigned range for MSP_LOOPTIME and
MSP_ARMING_CONFIG.  Rename MSP_ARM_CONFIG to MSP_ARMING_CONFIG.
2015-03-28 20:30:15 +00:00