memlcd: Mark Schulte <mark@mjs.pw>
This commit is contained in:
parent
9d22f5df35
commit
28226198a7
@ -376,7 +376,7 @@ static inline void memlcd_clear(FAR struct memlcd_dev_s *mlcd)
|
||||
*
|
||||
****************************************************************************/
|
||||
|
||||
static int memlcd_extcominisr(int irq, FAR void *context)
|
||||
static int memlcd_extcominisr(int irq, FAR void *context, void *arg)
|
||||
{
|
||||
static bool pol = 0;
|
||||
struct memlcd_dev_s *mlcd = &g_memlcddev;
|
||||
@ -723,7 +723,7 @@ FAR struct lcd_dev_s *memlcd_initialize(FAR struct spi_dev_s *spi,
|
||||
mlcd->priv = priv;
|
||||
mlcd->spi = spi;
|
||||
|
||||
mlcd->priv->attachirq(memlcd_extcominisr);
|
||||
mlcd->priv->attachirq(memlcd_extcominisr, mlcd);
|
||||
|
||||
lcdinfo("done\n");
|
||||
return &mlcd->dev;
|
||||
|
@ -81,7 +81,7 @@ struct memlcd_priv_s
|
||||
* setvcomfreq - Set timer frequency for EXTCOMIN.
|
||||
*/
|
||||
|
||||
int (*attachirq) (xcpt_t isr);
|
||||
int (*attachirq) (xcpt_t isr, void *arg);
|
||||
void (*dispcontrol) (bool on);
|
||||
#ifndef CONFIG_MEMLCD_EXTCOMIN_MODE_HW
|
||||
void (*setpolarity) (bool pol);
|
||||
|
Loading…
Reference in New Issue
Block a user