mirror of
https://github.com/eclipse/upm.git
synced 2025-03-24 17:30:01 +03:00
gp2y0a: fix context allocation error message
Signed-off-by: Jon Trulson <jtrulson@ics.com>
This commit is contained in:
parent
99abe95a97
commit
8820fd159a
@ -38,8 +38,8 @@ gp2y0a_context gp2y0a_init(uint8_t pin, float a_ref){
|
|||||||
|
|
||||||
if (!dev)
|
if (!dev)
|
||||||
{
|
{
|
||||||
printf("%s: device context allocation failed (%d).\n",
|
printf("%s: device context allocation failed.\n",
|
||||||
__FUNCTION__, mraa_rv);
|
__FUNCTION__);
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user