Bugs item #2044714, was opened at 2008-08-10 01:01
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=2044714&group_id=6744
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: HAL
Group: None
Status: Open
Resolution: None
Priority: 5
Private: No
Submitted By: Kent (reedka)
Assigned to: John Kasunich (jmkasunich)
Summary: typo causes screwy behavior in newsig command
Initial Comment:
Gentle persons:
in the following snippet from halcmd_command.c, 'u16' should be 'u32' in the
third strcasecmp
int do_newsig_cmd(char *name, char *type)
{
int retval;
if (strcasecmp(type, "bit") == 0) {
retval = hal_signal_new(name, HAL_BIT);
} else if (strcasecmp(type, "float") == 0) {
retval = hal_signal_new(name, HAL_FLOAT);
} else if (strcasecmp(type, "u16") == 0) {
retval = hal_signal_new(name, HAL_U32);
} else if (strcasecmp(type, "s32") == 0) {
retval = hal_signal_new(name, HAL_S32);
} else {
halcmd_error("Unknown signal type '%s'\n", type);
retval = HAL_INVAL;
}
if (retval != HAL_SUCCESS) {
halcmd_error("newsig failed\n");
}
return retval;
}
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=106744&aid=2044714&group_id=6744
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-developers