2010-03-19 15:13:29 +00:00
|
|
|
/***************************************************************************
|
|
|
|
* __________ __ ___.
|
|
|
|
* Open \______ \ ____ ____ | | _\_ |__ _______ ___
|
|
|
|
* Source | _// _ \_/ ___\| |/ /| __ \ / _ \ \/ /
|
|
|
|
* Jukebox | | ( <_> ) \___| < | \_\ ( <_> > < <
|
|
|
|
* Firmware |____|_ /\____/ \___ >__|_ \|___ /\____/__/\_ \
|
|
|
|
* \/ \/ \/ \/ \/
|
|
|
|
* $Id$
|
|
|
|
*
|
|
|
|
* Copyright (C) 2008-2009 Rafaël Carré
|
|
|
|
*
|
|
|
|
* This program is free software; you can redistribute it and/or
|
|
|
|
* modify it under the terms of the GNU General Public License
|
|
|
|
* as published by the Free Software Foundation; either version 2
|
|
|
|
* of the License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
|
|
|
|
* KIND, either express or implied.
|
|
|
|
*
|
|
|
|
****************************************************************************/
|
|
|
|
|
2010-05-27 12:28:53 +00:00
|
|
|
#include "config.h"
|
2010-03-19 15:13:29 +00:00
|
|
|
#include "ascodec.h"
|
|
|
|
|
2010-05-27 12:28:53 +00:00
|
|
|
void lcd_hw_init(void) INIT_ATTR;
|
2010-03-19 15:13:29 +00:00
|
|
|
static inline void lcd_enable_power(bool onoff)
|
|
|
|
{
|
|
|
|
ascodec_write(AS3514_DCDC15, onoff ? 1 : 0);
|
|
|
|
}
|