Remove probe override for si7210 driver

This commit removes the probe override for the si7210 driver, which seems to help with improving reliability of driver startup
This commit is contained in:
Jaeyoung-Lim
2021-06-24 10:22:10 +02:00
parent 66ad2fd586
commit 7fcad68c9d
2 changed files with 0 additions and 14 deletions
-13
View File
@@ -42,19 +42,6 @@
using namespace time_literals;
int
SI7210::probe()
{
bool require_initialization = !init_si7210();
if (require_initialization && _keep_retrying) {
PX4_INFO("no sensor found, but will keep retrying");
return 0;
}
return require_initialization ? -1 : 0;
}
/* Get registers value */
int
SI7210::get_regs(uint8_t ptr, uint8_t *regs)
-1
View File
@@ -140,7 +140,6 @@ private:
int measure() override { return 0; }
int collect() override;
int probe() override;
int configure();
bool init_si7210();