Changing handlers to register objects so that handlers can remain unchanged. In Progress!

This commit is contained in:
skarg
2009-08-22 19:27:18 +00:00
parent f3bc8a5baf
commit 3dc3da5735
7 changed files with 82 additions and 207 deletions
+10
View File
@@ -1002,6 +1002,16 @@ bool Device_Write_Property(
return status;
}
void Device_Init(void)
{
handler_write_property_object_set(
OBJECT_DEVICE,
Device_Write_Property);
handler_read_property_object_set(
OBJECT_DEVICE,
Device_Encode_Property_APDU);
}
#ifdef TEST
#include <assert.h>
#include <string.h>