1
0
Fork 0
mirror of https://github.com/betaflight/betaflight.git synced 2025-07-23 16:25:31 +03:00
Commit graph

16 commits

Author SHA1 Message Date
Martin Budden
e783217833 Tidy fc_tasks.c 2016-11-10 08:32:44 +00:00
blckmn
d48496c988 Adding some const qualifiers 2016-10-13 11:08:41 +11:00
blckmn
46a6e560f1 Initial IO remapping capability 2016-10-13 11:08:39 +11:00
Martin Budden
1c997abaaf Moved function declarations out of main. Tidied drivers. 2016-08-02 15:11:35 +01:00
Martin Budden
3ca385d92e Tidied up sonar targets 2016-06-23 19:50:48 +01:00
borisbstyle
35defbb27b Sonar merge 2016-02-02 23:36:23 +01:00
Dominic Clifton
4ed6fdfea5 CC3D - Add sonar.
This also ensures that the PWM mapping does not use the sonar pins when
sonar is enabled in a board agnostic way.
Conflicts:
	src/main/config/config.c
	src/main/drivers/pwm_mapping.h
	src/main/main.c
	src/main/target/CC3D/target.h
2015-05-22 22:35:41 +01: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
Krzysztof Rosinski
34cd8f466e MSP command for sonar altitude 2015-01-29 15:17:15 +01:00
Dominic Clifton
db14bd80cb Cleanup sonar driver
* spend less time in interrupt handler.
* avoid pointer usage to prevent the inclination adjusted reading being
replaced by the interrupt handler's calculation.
* only calculate the actual distance based on the measurement when
required.
2014-12-24 01:31:50 +00:00
Dominic Clifton
d60183d91d Normalize all the line endings 2014-09-15 23:40:17 +01:00
treymarc
ae0f842266 rename/removed global var sonarAngle to tiltAngle , fix spaces/lines
Conflicts:

	src/imu.c
	src/main/drivers/sonar_hcsr04.c
2014-07-15 14:12:28 +01:00
treymarc
5253064b46 sonar althold
Conflicts:

	src/imu.c
2014-07-14 14:17:04 +01:00
Dominic Clifton
e867af8c4b Correct project name in GPL notices. 2014-06-05 00:47:47 +01:00
Dominic Clifton
0bbcd6570f Updated source files to include the GPL v3 notices. Include a copy of
the GPL v3.
2014-06-04 16:48:23 +01:00
Dominic Clifton
d19a5e7046 Cleanup project structure. Update unit test Makefile to place object
files in obj/test
2014-05-31 22:43:06 +01:00
Renamed from src/sensors_sonar.h (Browse further)