params: remove unused SENS_EN_* params

Replaced with the more general serial config params.
This commit is contained in:
Beat Küng
2018-09-25 07:53:29 +02:00
parent f2f9a7aadc
commit f0c0b6f6e8
6 changed files with 3 additions and 147 deletions
@@ -215,14 +215,9 @@ TFMINI::~TFMINI()
int
TFMINI::init()
{
int32_t hw_model;
param_get(param_find("SENS_EN_TFMINI"), &hw_model);
int32_t hw_model = 1; // only one model so far...
switch (hw_model) {
case 0:
PX4_WARN("disabled.");
return 0;
case 1: /* TFMINI (12m, 100 Hz)*/
_min_distance = 0.3f;
_max_distance = 12.0f;