From ce90c0481a6c7a5a455791e4e7366c589e52b68c Mon Sep 17 00:00:00 2001 From: Mihail Zenkov Date: Wed, 30 Mar 2016 12:50:40 +0000 Subject: Fix checking for CONFIG_CHARGING Change-Id: I53b9a129679fd7b322770025106ef92033226d2a --- firmware/export/powermgmt.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'firmware/export/powermgmt.h') diff --git a/firmware/export/powermgmt.h b/firmware/export/powermgmt.h index d79d560150..f6b71a864e 100644 --- a/firmware/export/powermgmt.h +++ b/firmware/export/powermgmt.h @@ -49,7 +49,7 @@ enum charge_state_type /* tells what the charger is doing */ extern enum charge_state_type charge_state; -#ifdef CONFIG_CHARGING +#if CONFIG_CHARGING /* * Flag that the charger has been plugged in/removed: this is set for exactly * one time through the power loop when the charger has been plugged in. -- cgit v1.2.3