@ -191,19 +191,15 @@ uint8_t DFRobot_AS3935_I2C::setMinStrikes(uint8_t minStrk)
{
singRegWrite(0x02, 0x30, 0x00);
return 1;
}
else if(9 > minStrk)
}else if(9 > minStrk)
singRegWrite(0x02, 0x30, 0x10);
return 5;
else if(16 > minStrk)
}else if(16 > minStrk)
singRegWrite(0x02, 0x30, 0x20);
return 9;
else
}else{
singRegWrite(0x02, 0x30, 0x30);
return 16;