mirror of
https://github.com/eclipse/upm.git
synced 2025-03-15 04:57:30 +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)
|
||||
{
|
||||
printf("%s: device context allocation failed (%d).\n",
|
||||
__FUNCTION__, mraa_rv);
|
||||
printf("%s: device context allocation failed.\n",
|
||||
__FUNCTION__);
|
||||
return NULL;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user