configs/lpcxpresso-lpc54628: Add an NxWM configuration. Not yet functional.

This commit is contained in:
Gregory Nutt
2017-12-18 13:33:37 -06:00
parent 3edd670c71
commit ead23dca30
5 changed files with 171 additions and 4 deletions
+2 -1
View File
@@ -1205,6 +1205,7 @@ int ft5x06_register(FAR struct i2c_master_s *i2c,
if (priv->polltimer == NULL)
{
ierr("ERROR: Failed to allocate polltimer\n");
ret = -EBUSY;
goto errout_with_priv;
}
#else
@@ -1241,7 +1242,7 @@ int ft5x06_register(FAR struct i2c_master_s *i2c,
*/
ret = work_queue(HPWORK, &priv->work, ft5x06_data_worker, priv, 0);
if (ret != 0)
if (ret < 0)
{
ierr("ERROR: Failed to queue work: %d\n", ret);
goto errout_with_timer;