Commit Graph

11 Commits

Author SHA1 Message Date
Gustavo Jose de Sousa 6bddbc26de AP_ADC_AnalogSource: standardize inclusion of libaries headers
This commit changes the way libraries headers are included in source files:

 - If the header is in the same directory the source belongs to, so the
 notation '#include ""' is used with the path relative to the directory
 containing the source.

 - If the header is outside the directory containing the source, then we use
 the notation '#include <>' with the path relative to libraries folder.

Some of the advantages of such approach:

 - Only one search path for libraries headers.

 - OSs like Windows may have a better lookup time.
2015-08-19 20:42:17 +09:00
Andrew Tridgell f28946defb AP_ADC_AnalogSource: avoid some float conversion warnings 2014-07-08 20:26:37 +10:00
Andrew Tridgell 457ca0b57d AP_ADC_AnalogSource: fixed APM1 build 2013-09-12 13:28:11 +10:00
Andrew Tridgell 48cfdac6f0 AP_ADC_AnalogSource: added voltage_average_ratiometric() 2013-05-13 15:13:59 +10:00
Andrew Tridgell 6cc9939891 AP_ADC: added dummy stop_pin and settle_time calls 2013-05-03 11:11:40 +10:00
Andrew Tridgell bf1944a36d AP_ADC_AnalogSource: fixed reference scaling for APM1 Ch6 ADC
it is not referenced to Vcc
2013-03-08 09:06:40 +11:00
Andrew Tridgell ce46f2f871 AP_ADC: fixed scaling factor for voltage on APM1 Ch6 ADC 2013-03-08 08:26:54 +11:00
Andrew Tridgell 3e2cb92c71 AP_ADC_AnalogSource: added voltage_average() interface 2013-03-03 16:16:01 +11:00
Pat Hickey 8f99a12374 AP_ADC_AnalogSource: fix for new AnalogIn interface 2012-12-20 14:51:35 +11:00
Pat Hickey a6d80af9ed AP_ADC_AnalogSource: obey changes to AnalogSource interface 2012-12-20 14:51:35 +11:00
Pat Hickey ce8dc5fd5c AP_AnalogSource: obsoleted by AP_HAL. Renamed to AP_ADC_AnalogSource. 2012-12-20 14:51:25 +11:00