1
0
Fork 0
mirror of https://github.com/iNavFlight/inav.git synced 2025-07-26 09:45:33 +03:00
Commit graph

7750 commits

Author SHA1 Message Date
Alberto García Hierro
6b6b49451b
Merge pull request #3548 from iNavFlight/agh_settings_info
Add support for retriving setting types and listing all of them
2018-07-09 23:31:45 +01:00
Alberto García Hierro
aa8e46b2de Use new setting accessor functions for retriving settings
This reduces flash usage by 96 bytes, making the cost of the whole
PR around 300 bytes.
Also, the settings tables in settings_generated.c are now made
static to make sure no code outside of settings.c can reference
them.
2018-07-09 22:36:01 +01:00
Alberto García Hierro
579bd5c6b2
Merge pull request #3546 from iNavFlight/de_ist8310_fix
Fix datasheet incompliance for IST8310 compass chip
2018-07-09 15:37:46 +01:00
Alberto García Hierro
c3296d5927
Merge pull request #3550 from krzysztofmatula/km-doc-omnibus-inverter
doc update: OMNIBUSF4V5 UART6TX inverter
2018-07-09 15:29:43 +01:00
Alberto García Hierro
96fa973d3f
Merge pull request #3553 from giacomo892/patch-4
Update README.md
2018-07-09 15:29:17 +01:00
giacomo892
9a88769317
Update README.md 2018-07-09 14:58:49 +02:00
Alberto García Hierro
5468d2fe6e Add support for retriving setting types and listing all of them
This allows an external caller to retrieve and change any setting
as well as listing all the available ones without any a priori
knowledge.
2018-07-09 13:58:02 +01:00
Krzysztof Matula
257e326221 doc update: OMNIBUSF4V5 UART6TX inverter 2018-07-09 10:58:40 +02:00
Alberto García Hierro
159a8d73ea
Merge pull request #3547 from iNavFlight/agh_update_slack_link
Update Slack auto-invite link
2018-07-09 01:27:31 +01:00
Alberto García Hierro
db9d29f896 Update Slack auto-invite link
Replace signup.team, which has been down for some time, with
publicslack.com
2018-07-08 20:33:00 +01:00
Konstantin Sharlaimov (DigitalEntity)
c4401dbc1d Fix datasheet incompliance for IST8310 compass chip 2018-07-08 21:23:46 +02:00
Alberto García Hierro
7ec87447fb
Merge pull request #3537 from iNavFlight/agh_local_times
Use local times (+TZ when possible) for external interfaces
2018-07-08 19:34:47 +01:00
Alberto García Hierro
6f79b8948d Use local times (+TZ when possible) for external interfaces
- BB logs format the date in the local TZ, including the UTC
offset in the header line.
- Files created in the SD card use the local time for timestamps,
since FAT doesn't have any notion of timezones.
- Time sync with RC Split uses the local time, since it doesn't
support timezones.
- Added new rtcGetDateTimeLocal() function, which allows removing
some branching in osd.c

Saves 40 bytes of flash on F3

Fixes #3531
2018-07-08 18:30:00 +01:00
Alberto García Hierro
d1862ecec2
Merge pull request #3542 from iNavFlight/agh_fix_auto_dst
Fix automatic DST support
2018-07-08 18:27:31 +01:00
Alberto García Hierro
fa4c1431c9 Fix automatic DST support
- Apply an offset of 3600s, not 3600ms.
- Update the applied offset to the datetime, so callers can format
the UTC offset properly.
- Apply automatic DST even when non-DST tz offset is zero.
2018-07-08 17:27:36 +01:00
Alberto García Hierro
6b2d5546e6
Merge pull request #3536 from iNavFlight/agh_fix_smartport_time_overflow
Prevent time comparison overflow in S.Port driver
2018-07-08 13:28:19 +01:00
Alberto García Hierro
5535b49f50
Merge pull request #3540 from iNavFlight/marbalon_pwm_startup_fix
PWM driver - startup value fix
2018-07-08 13:25:33 +01:00
Alberto García Hierro
b9281e3e5e
Merge pull request #3519 from teckel12/te_tweak_frsky_hdop_range
Fix FrSky HDOP range
2018-07-08 13:25:14 +01:00
Alberto García Hierro
9043a95ff4
Merge pull request #3490 from shellixyz/fix_current_bb_loggin_improve_battery_code
Fix current BB logging and improve battery code
2018-07-08 13:13:03 +01:00
Alberto García Hierro
34eed409e7
Merge pull request #3502 from shellixyz/fix_division_by_0_in_generateThrottleCurve
Fix division by 0 in generateThrottleCurve()
2018-07-08 13:12:38 +01:00
Alberto García Hierro
74e5ae8667 Prevent time comparison overflow in S.Port driver
Would stop S.Port telemetry after ~36 minutes.
After discussing this with @mikeller, we've decided to enforce the
500us response delay for S.Port, since it might be needed for some
receivers.

Fixes #3282
2018-07-08 12:49:16 +01:00
Marcin Baliniak
4514aad824 PWM driver - startup value fix 2018-07-08 10:28:32 +02:00
Michel Pastor
8fd2af31de Fix division by 0 in generateThrottleCurve()
When `thr_mid` is set to 100 a division by 0 is done in `generateThrottleCurve()`
2018-07-07 23:55:22 +02:00
Michel Pastor
e311f4ac1e Fix current BB logging and improve battery code 2018-07-07 23:48:30 +02:00
Alberto García Hierro
d7c8a6e84d
Merge pull request #3522 from giacomo892/wind_speed_BB_slow
Log estimated wind speed to BB slow frames
2018-07-07 22:41:55 +01:00
Alberto García Hierro
b0ccae5179
Merge pull request #3532 from iNavFlight/marbalon_limit_spi_speed
Add definition for MAX_SPI_SPEED to limit spi seed if defined for target
2018-07-07 22:40:28 +01:00
Marcin Baliniak
6d3a338f93 MAX_SPI_SPEED changed to BUS_SPI_SPEED_MAX 2018-07-07 23:00:19 +02:00
Alberto García Hierro
c1bcd75d20
Merge pull request #3513 from giacomo892/BBPosZ_fix
Remove posZ constrain to int16 for BB
2018-07-07 21:07:18 +01:00
Alberto García Hierro
2072c747d0
Merge pull request #3492 from shellixyz/fix_PID_output_display_and_logging
Fix PID controllers output display and logging scaling
2018-07-07 21:02:06 +01:00
Alberto García Hierro
f1c8ac484a
Merge pull request #3509 from shellixyz/fix_flight_timer
Fix flight timer for fixed wing when not using launch mode
2018-07-07 20:36:28 +01:00
Alberto García Hierro
b500f447a5
Merge pull request #3512 from shellixyz/make_failsafe_throttle_low_delay_default_0
Make failsafe_throttle_low_delay default 0
2018-07-07 20:36:10 +01:00
Alberto García Hierro
8d83448eb4
Merge pull request #3530 from iNavFlight/marbalon_fix_course4eleres2
Fixed ground course for eleres telemetry
2018-07-07 20:35:18 +01:00
Marcin Baliniak
ea685fe2f5 Add definition for MAX_SPI_SPEED to limit spi seed if defined for target 2018-07-07 16:15:26 +02:00
Paweł Spychalski
2337752e81
Merge pull request #3528 from Pomezny/pca9685_fix
fixed broken PWM_SERVO_DRIVER
2018-07-07 15:55:24 +02:00
Paweł Spychalski
616835c5c5
Merge pull request #3529 from iNavFlight/marbalon_fix_pwm_kfc32f3_inav
Marbalon fix PWM9 and PWM10 for KFC32F3_INAV target
2018-07-07 15:51:42 +02:00
Marcin Baliniak
a30fde56e3 Fixed ground course fro eleres telemetry 2018-07-07 15:47:12 +02:00
Marcin Baliniak
c146a3f833 Fixed PWM9 and PWM10 for KFC32F3_INAV target 2018-07-07 15:08:20 +02:00
Martin Pomezný
a056c2dd17 aditional I2C define check 2018-07-07 08:42:22 +02:00
Martin Pomezný
cd96a6f88c fixed broken PWM_SERVO_DRIVER 2018-07-07 02:51:39 +02:00
giacomo892
950f96f8cc more optimization 2018-07-06 17:26:31 +02:00
Alberto García Hierro
b569c30517
Merge pull request #3486 from shellixyz/fix_battery_voltage_throttle_comp
Fix battery voltage throttle compensation
2018-07-06 09:26:03 +01:00
giacomo892
e9ac8b91f9 decrease CPU load on wind logging 2018-07-06 09:40:19 +02:00
Michel Pastor
4baf5fdadf Fix PID controllers output display and logging scaling 2018-07-06 05:20:13 +02:00
Michel Pastor
a046a780ce Fix battery voltage throttle compensation 2018-07-06 02:31:21 +02:00
giacomo892
365d5c8f03 Log estimated wind speed to BB slow frames 2018-07-05 16:32:44 +02:00
Alberto García Hierro
7c301e67d4
Merge pull request #3485 from iNavFlight/agh_refactor_inverters
Refactor the inverter driver
2018-07-05 10:00:03 +01:00
Alberto García Hierro
67f5fb8ae2
Merge pull request #3510 from shellixyz/replace_feature_current_meter_with_isAmperageConfigured
Replace feature(FEATURE_CURRENT_METER) by isAmperageConfigured() where it makes sense
2018-07-05 09:56:34 +01:00
Alberto García Hierro
4c7b5b637f
Merge pull request #3515 from shellixyz/remove_CLI_servo_trailing_space
Remove trailing space in CLI servo output lines
2018-07-05 00:28:14 +01:00
Tim Eckel
afc5602758 frsky telemetry hdop tweak 2018-07-04 15:18:19 -04:00
Tim Eckel
6c0e85ea3f
Merge pull request #2 from iNavFlight/development
Sync with main repo
2018-07-04 14:32:21 -04:00