Removed the WriteProperty support on Atmega168 - Program size was at 108%. Gotta think of some ways to slim down.

This commit is contained in:
skarg
2007-10-25 04:00:13 +00:00
parent cf3f881f7a
commit 1f61a4e7b5
+8 -2
View File
@@ -48,9 +48,11 @@ bool apdu_service_supported(BACNET_SERVICES_SUPPORTED service_supported)
if (service_supported == SERVICE_SUPPORTED_READ_PROPERTY) {
status = true;
}
#if 0
if (service_supported == SERVICE_SUPPORTED_WRITE_PROPERTY) {
status = true;
}
#endif
return status;
}
@@ -102,10 +104,14 @@ void apdu_handler(BACNET_ADDRESS * src, uint8_t * apdu, /* APDU data */
if (service_choice == SERVICE_CONFIRMED_READ_PROPERTY) {
handler_read_property(service_request,
service_request_len, src, &service_data);
} else if (service_choice == SERVICE_CONFIRMED_WRITE_PROPERTY) {
}
#if 0
else if (service_choice == SERVICE_CONFIRMED_WRITE_PROPERTY) {
handler_write_property(service_request,
service_request_len, src, &service_data);
} else {
}
#endif
else {
handler_unrecognized_service(service_request,
service_request_len, src, &service_data);
}