Tuning the ATmega168 port demo project for the BTL plugfest.
This commit is contained in:
File diff suppressed because one or more lines are too long
@@ -70,7 +70,6 @@ uint32_t Device_Object_Instance_Number(void)
|
||||
return Object_Instance_Number;
|
||||
}
|
||||
|
||||
#if 0
|
||||
bool Device_Set_Object_Instance_Number(uint32_t object_id)
|
||||
{
|
||||
bool status = true; /* return value */
|
||||
@@ -88,7 +87,6 @@ bool Device_Set_Object_Instance_Number(uint32_t object_id)
|
||||
|
||||
return status;
|
||||
}
|
||||
#endif
|
||||
|
||||
bool Device_Valid_Object_Instance_Number(uint32_t object_id)
|
||||
{
|
||||
|
||||
@@ -140,6 +140,7 @@ void input_switch_read(void)
|
||||
#if defined(BACDL_MSTP)
|
||||
dlmstp_set_mac_address(Address_Switch);
|
||||
#endif
|
||||
Device_Set_Object_Instance_Number(86000 + Address_Switch);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user