mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-15 18:23:34 +08:00
ina22x:Enabled by paramaters
This commit is contained in:
committed by
Daniel Agar
parent
f820771ea2
commit
bf89771710
@@ -1,6 +1,6 @@
|
||||
/****************************************************************************
|
||||
*
|
||||
* Copyright (c) 2019 PX4 Development Team. All rights reserved.
|
||||
* Copyright (c) 2019, 2021 PX4 Development Team. All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions
|
||||
@@ -31,6 +31,16 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
/**
|
||||
* Enable INA226 Power Monitor
|
||||
*
|
||||
* For systems a INA226 Power Monitor, this should be set to true
|
||||
*
|
||||
* @group Sensors
|
||||
* @boolean
|
||||
* @reboot_required true
|
||||
*/
|
||||
PARAM_DEFINE_INT32(SENS_EN_INA226, 0);
|
||||
|
||||
/**
|
||||
* INA226 Power Monitor Config
|
||||
|
||||
@@ -31,6 +31,16 @@
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
/**
|
||||
* Enable INA228 Power Monitor
|
||||
*
|
||||
* For systems a INA228 Power Monitor, this should be set to true
|
||||
*
|
||||
* @group Sensors
|
||||
* @boolean
|
||||
* @reboot_required true
|
||||
*/
|
||||
PARAM_DEFINE_INT32(SENS_EN_INA228, 0);
|
||||
|
||||
/**
|
||||
* INA228 Power Monitor Config
|
||||
|
||||
Reference in New Issue
Block a user