Ardupilot2/libraries/AP_HAL_PX4
Lucas De Marchi 6d7678d2a3 AP_HAL_PX4: fix passing callback to member function
This is the same approach as done for AP_HAL_Linux in e3d78b8 ("AP_HAL_Linux:
fix passing callback to member function"). It fixes the following warnings:

ardupilot/libraries/AP_HAL_PX4/Scheduler.cpp: In member function 'virtual void PX4::PX4Scheduler::init(void*)':
ardupilot/libraries/AP_HAL_PX4/Scheduler.cpp:55:95: warning: converting from 'void* (PX4::PX4Scheduler::*)()' to 'pthread_startroutine_t {aka void* (*)(void*)}' [-Wpmf-conversions]
  pthread_create(&_timer_thread_ctx, &thread_attr, (pthread_startroutine_t)&PX4::PX4Scheduler::_timer_thread, this);
                                                                                               ^
ardupilot/libraries/AP_HAL_PX4/Scheduler.cpp:65:94: warning: converting from 'void* (PX4::PX4Scheduler::*)()' to 'pthread_startroutine_t {aka void* (*)(void*)}' [-Wpmf-conversions]
  pthread_create(&_uart_thread_ctx, &thread_attr, (pthread_startroutine_t)&PX4::PX4Scheduler::_uart_thread, this);
                                                                                              ^
ardupilot/libraries/AP_HAL_PX4/Scheduler.cpp:75:92: warning: converting from 'void* (PX4::PX4Scheduler::*)()' to 'pthread_startroutine_t {aka void* (*)(void*)}' [-Wpmf-conversions]
  pthread_create(&_io_thread_ctx, &thread_attr, (pthread_startroutine_t)&PX4::PX4Scheduler::_io_thread, this);
                                                                                            ^
ardupilot/libraries/AP_HAL_PX4/Scheduler.cpp:85:100: warning: converting from 'void* (PX4::PX4Scheduler::*)()' to 'pthread_startroutine_t {aka void* (*)(void*)}' [-Wpmf-conversions]
     pthread_create(&_storage_thread_ctx, &thread_attr, (pthread_startroutine_t)&PX4::PX4Scheduler::_storage_thread, this);

ardupilot/libraries/AP_HAL_PX4/NSHShellStream.cpp: In member function 'void PX4::NSHShellStream::start_shell()':
ardupilot/libraries/AP_HAL_PX4/NSHShellStream.cpp:83:99: warning: converting from 'void (PX4::NSHShellStream::*)()' to 'pthread_startroutine_t {aka void* (*)(void*)}' [-Wpmf-conversions]
     pthread_create(&shell_thread_ctx, &thread_attr, (pthread_startroutine_t)&PX4::NSHShellStream::shell_thread, this);
                                                                                                   ^
2015-12-03 07:51:08 +11:00
..
examples/simple build: removed all nocore.inoflag files 2015-11-16 08:05:17 +11:00
AnalogIn.cpp AP_HAL_PX4: use init() method without arguments 2015-12-02 14:49:11 -02:00
AnalogIn.h AP_HAL_PX4: use init() method without arguments 2015-12-02 14:49:11 -02:00
AP_HAL_PX4_Namespace.h HAL_PX4: added hal.i2c support on PX4 boards 2015-09-08 16:46:52 +10:00
AP_HAL_PX4.h AP_HAL: provide AP_HAL_MAIN() 2015-10-21 09:16:09 +11:00
GPIO.cpp HAL_PX4: support FMUv4 2015-11-27 18:54:30 +11:00
GPIO.h HAL_PX4: support FMUv4 2015-11-27 18:54:30 +11:00
HAL_PX4_Class.cpp AP_HAL_PX4: use init() method without arguments 2015-12-02 14:49:11 -02:00
HAL_PX4_Class.h AP_HAL_PX4: Remove unused extern declaration for HALs 2015-11-20 16:32:32 +09:00
I2CDriver.cpp HAL_PX4: expose do_transfer() in API 2015-12-01 07:18:25 +11:00
I2CDriver.h HAL_PX4: expose do_transfer() in API 2015-12-01 07:18:25 +11:00
NSHShellStream.cpp AP_HAL_PX4: fix passing callback to member function 2015-12-03 07:51:08 +11:00
px4_param.cpp AP_HAL_PX4: standardize inclusion of libaries headers 2015-08-11 16:28:43 +10:00
RCInput.cpp AP_HAL_PX4: use init() method without arguments 2015-12-02 14:49:11 -02:00
RCInput.h AP_HAL_PX4: use init() method without arguments 2015-12-02 14:49:11 -02:00
RCOutput.cpp AP_HAL_PX4: use init() method without arguments 2015-12-02 14:49:11 -02:00
RCOutput.h AP_HAL_PX4: use init() method without arguments 2015-12-02 14:49:11 -02:00
Scheduler.cpp AP_HAL_PX4: fix passing callback to member function 2015-12-03 07:51:08 +11:00
Scheduler.h AP_HAL_PX4: fix passing callback to member function 2015-12-03 07:51:08 +11:00
Storage.cpp AP_HAL_PX4: use millis/micros/panic functions 2015-11-20 12:31:13 +09:00
Storage.h AP_HAL_PX4: use init() method without arguments 2015-12-02 14:49:11 -02:00
system.cpp AP_HAL_PX4: implement new AP_HAL functions 2015-11-20 12:25:40 +09:00
UARTDriver.cpp AP_HAL_PX4: use millis/micros/panic functions 2015-11-20 12:31:13 +09:00
UARTDriver.h HAL_PX4: Rework support for FLOW_CONTROL_AUTO. 2015-08-19 15:21:10 +10:00
Util.cpp HAL_PX4: make available_memory() uint32_t 2015-11-05 16:09:00 +11:00
Util.h AP_HAL_PX4: fix passing callback to member function 2015-12-03 07:51:08 +11:00