[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[paparazzi-commits] [paparazzi/paparazzi] 30df14: [abi] allow to pass va
From: |
GitHub |
Subject: |
[paparazzi-commits] [paparazzi/paparazzi] 30df14: [abi] allow to pass variables by value |
Date: |
Sat, 07 Feb 2015 07:19:01 -0800 |
Branch: refs/heads/master
Home: https://github.com/paparazzi/paparazzi
Commit: 30df14eb05c37d1cccddf3d8f685dd3de698efce
https://github.com/paparazzi/paparazzi/commit/30df14eb05c37d1cccddf3d8f685dd3de698efce
Author: Felix Ruess <address@hidden>
Date: 2015-02-07 (Sat, 07 Feb 2015)
Changed paths:
M sw/airborne/boards/apogee/baro_board.c
M sw/airborne/boards/ardrone/baro_board.c
M sw/airborne/boards/ardrone/navdata.c
M sw/airborne/boards/baro_board_ms5611_i2c.c
M sw/airborne/boards/baro_board_ms5611_spi.c
M sw/airborne/boards/booz/baro_board.c
M sw/airborne/boards/hbmini/baro_board.c
M sw/airborne/boards/lisa_l/baro_board.c
M sw/airborne/boards/lisa_m/baro_board.c
M sw/airborne/boards/navgo/baro_board.c
M sw/airborne/boards/navstik/baro_board.c
M sw/airborne/boards/umarim/baro_board.c
M sw/airborne/modules/air_data/air_data.c
M sw/airborne/modules/computer_vision/opticflow_module.c
M sw/airborne/modules/meteo/meteo_stick.c
M sw/airborne/modules/sensors/airspeed_ms45xx_i2c.c
M sw/airborne/modules/sensors/baro_MS5534A.c
M sw/airborne/modules/sensors/baro_amsys.c
M sw/airborne/modules/sensors/baro_bmp.c
M sw/airborne/modules/sensors/baro_ets.c
M sw/airborne/modules/sensors/baro_hca.c
M sw/airborne/modules/sensors/baro_mpl3115.c
M sw/airborne/modules/sensors/baro_ms5611_i2c.c
M sw/airborne/modules/sensors/baro_ms5611_spi.c
M sw/airborne/modules/sensors/baro_scp.c
M sw/airborne/modules/sensors/baro_scp_i2c.c
M sw/airborne/modules/sensors/baro_sim.c
M sw/airborne/modules/sensors/pressure_board_navarro.c
M sw/airborne/modules/sonar/agl_dist.c
M sw/airborne/modules/sonar/sonar_adc.c
M sw/airborne/subsystems/ins/ins_alt_float.c
M sw/airborne/subsystems/ins/ins_float_invariant.c
M sw/airborne/subsystems/ins/ins_int.c
M sw/airborne/test/test_baro_board.c
M sw/simulator/nps/nps_autopilot_fixedwing.c
M sw/simulator/nps/nps_autopilot_rotorcraft.c
M sw/tools/generators/gen_abi.ml
Log Message:
-----------
[abi] allow to pass variables by value
before the generated ABI callbacks always had a signature with `const type
*var` where type was e.g float.
Now the generated signature is simply `type var`.
To pass const pointers again, set it accordingly in abi.xml, e.g. type="const
float *" instead of type="float"