mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
Invert the check logic. No functional change, but I prefer this version.
This commit is contained in:
parent
ac350b125a
commit
c395e805cd
1 changed files with 2 additions and 4 deletions
|
|
@ -256,10 +256,8 @@ static void
|
|||
acpi_acad_ac_only(void __unused *arg)
|
||||
{
|
||||
|
||||
if (devclass_get_count(acpi_acad_devclass) > 0)
|
||||
return;
|
||||
|
||||
acpi_UserNotify("ACAD", ACPI_ROOT_OBJECT, 1);
|
||||
if (devclass_get_count(acpi_acad_devclass) == 0)
|
||||
acpi_UserNotify("ACAD", ACPI_ROOT_OBJECT, 1);
|
||||
}
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Reference in a new issue