set_baro_spi_device
Sets the SPI bus number (0-5) for the barometer sensor, required when using a barometer on Betaflight.
Instructions
Set baro_spi_device: SPI bus number for barometer. (Requires: USE_BARO) [UINT8, 0–5, default: 2]
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"value": "<value>"
},
"name": "set_baro_spi_device"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| value | Yes | Value for baro_spi_device (UINT8, 0–5) |