1.pwm调整为S510一样的
This commit is contained in:
parent
943e269b3d
commit
89ebb4f530
|
@ -452,7 +452,7 @@ void sf_ir_led_set(UINT8 mode, UINT8 flashLed, UINT8 stillExp, UINT8 isSnapVideo
|
|||
UINT32 ui_rise = 0; ///< Rising at which clock
|
||||
int ret = 0;
|
||||
char argv[70] = {0};
|
||||
//530,940灯 待机电流120 开灯pic1.0(10) video810(25)
|
||||
|
||||
if(mode)
|
||||
{
|
||||
#if HUNTING_IR_LED_940 == ENABLE
|
||||
|
@ -460,27 +460,27 @@ void sf_ir_led_set(UINT8 mode, UINT8 flashLed, UINT8 stillExp, UINT8 isSnapVideo
|
|||
{
|
||||
if(flashLed == 0)
|
||||
{
|
||||
ui_rise = 30;//70%
|
||||
}
|
||||
else
|
||||
{
|
||||
ui_rise = 60;//40%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(flashLed == 0)
|
||||
{
|
||||
ui_rise = 15;//85%
|
||||
ui_rise = 25;//75%
|
||||
}
|
||||
else
|
||||
{
|
||||
ui_rise = 55;//45%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(flashLed == 0)
|
||||
{
|
||||
ui_rise = 10;//90%
|
||||
}
|
||||
else
|
||||
{
|
||||
ui_rise = 45;//55%
|
||||
}
|
||||
}
|
||||
#else
|
||||
|
||||
//530,850灯 待机电流120 开灯pic800(25) video680(35)
|
||||
|
||||
if(isSnapVideo)
|
||||
{
|
||||
if(flashLed == 0)
|
||||
|
|
|
@ -453,22 +453,22 @@ void sf_ir_led_set(UINT8 mode, UINT8 flashLed, UINT8 stillExp, UINT8 isSnapVideo
|
|||
{
|
||||
if(flashLed == 0)
|
||||
{
|
||||
ui_rise = 30;//70%
|
||||
ui_rise = 25;//75%
|
||||
}
|
||||
else
|
||||
{
|
||||
ui_rise = 60;//40%
|
||||
ui_rise = 55;//45%
|
||||
}
|
||||
}
|
||||
else
|
||||
{
|
||||
if(flashLed == 0)
|
||||
{
|
||||
ui_rise = 15;//85%
|
||||
ui_rise = 10;//90%
|
||||
}
|
||||
else
|
||||
{
|
||||
ui_rise = 55;//45%
|
||||
ui_rise = 45;//55%
|
||||
}
|
||||
}
|
||||
#else
|
||||
|
|
Loading…
Reference in New Issue
Block a user