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/ascodec.h | 2 +- firmware/export/powermgmt.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'firmware/export') diff --git a/firmware/export/ascodec.h b/firmware/export/ascodec.h index 94030a2b34..8697adb00d 100644 --- a/firmware/export/ascodec.h +++ b/firmware/export/ascodec.h @@ -45,7 +45,7 @@ int ascodec_readbytes(unsigned int index, unsigned int len, unsigned char *data) void ascodec_wait_adc_finished(void); -#ifdef CONFIG_CHARGING +#if CONFIG_CHARGING bool ascodec_endofch(void); bool ascodec_chg_status(void); void ascodec_monitor_endofch(void); 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