diff options
Diffstat (limited to 'progEEPROM.c')
-rw-r--r-- | progEEPROM.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/progEEPROM.c b/progEEPROM.c index f0e8259..fa6d138 100644 --- a/progEEPROM.c +++ b/progEEPROM.c @@ -1555,7 +1555,7 @@ struct ID_OW{ {0x43,"DS28EC20\r\n"}, }; -void OW_ID(int id) +static bool OW_ID(int id) { char s[64]; int i; @@ -1563,11 +1563,11 @@ void OW_ID(int id) if(id==OW_LIST[i].id){ sprintf(s,OW_LIST[i].device,id); PrintMessage(s); - return; + return true; } } - sprintf(s,"%s",strings[S_nodev]); //"Unknown device\r\n"); - PrintMessage(s); + PrintMessage(strings[S_nodev]); //"Unknown device\r\n"); + return false; } #define READ_ROM 0x33 |