removed magic number
This commit is contained in:
parent
b41fe4a9fc
commit
fae7509dba
|
@ -19,8 +19,8 @@
|
|||
|
||||
void ZCD_Setup(void)
|
||||
{
|
||||
ADC_Init(7);
|
||||
ADC_Enable(7);
|
||||
ADC_Init(ZCD_PIN);
|
||||
ADC_Enable(ZCD_PIN);
|
||||
}
|
||||
|
||||
bool ZCD_IsTriggered()
|
||||
|
|
Loading…
Reference in New Issue