Removed or #if code that was not embedded friendly when building without an OS.

This commit is contained in:
skarg
2009-11-19 16:06:18 +00:00
parent 2b519a5570
commit 1d9fed6bc6
4 changed files with 8 additions and 6 deletions
+1 -1
View File
@@ -93,7 +93,7 @@ int getevent_ack_encode_apdu_init(
{
int apdu_len = 0; /* total length of the apdu, return value */
if (apdu) {
if (apdu && (max_apdu >= 4)) {
apdu[0] = PDU_TYPE_COMPLEX_ACK; /* complex ACK service */
apdu[1] = invoke_id; /* original invoke id from request */
apdu[2] = SERVICE_CONFIRMED_GET_EVENT_INFORMATION;