Converted ports/at91sam7s to use demo handlers. Added RPM, WhoHas/I-Have.

This commit is contained in:
skarg
2010-02-13 16:15:30 +00:00
parent 6c1b5b7e68
commit 5c439da7f2
15 changed files with 848 additions and 1463 deletions
+2 -5
View File
@@ -554,9 +554,7 @@ bool Device_Set_Object_Name(
const char *name,
size_t length)
{
bool status; /*return value */
status = false;
bool status = false; /*return value */
/* FIXME: All the object names in a device must be unique.
Disallow setting the Device Object Name to any objects in
@@ -582,9 +580,8 @@ int Device_Set_System_Status(
BACNET_DEVICE_STATUS status,
bool local)
{
int result; /*return value - 0 = ok, -1 = bad value, -2 = not allowed */
int result = 0; /*return value - 0 = ok, -1 = bad value, -2 = not allowed */
result = 0;
/* We limit the options available depending on whether the source is
* internal or external. */
if(local) {