Subversion Repositories public

Rev

Rev 93 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 93 Rev 136
Line 215... Line 215...
215
 
215
 
216
  if ( garmin_command_supported(garmin,cmd) &&
216
  if ( garmin_command_supported(garmin,cmd) &&
217
       garmin_make_command_packet(garmin,cmd,&packet) ) {
217
       garmin_make_command_packet(garmin,cmd,&packet) ) {
218
    ret = garmin_write(garmin,&packet);
218
    ret = garmin_write(garmin,&packet);
219
  } else {
219
  } else {
-
 
220
    char hv0[256];
220
    /* Error: command not supported */
221
    /* Error: command not supported */
221
 
-
 
222
    printf("Error: command %d not supported\n",cmd);
222
    sprintf(&hv0[0], "Error: command %d not supported!",cmd);
-
 
223
    garmin_queue_error(hv0, err_error);
223
  }
224
  }
224
 
225
 
225
  return ret;
226
  return ret;
226
}
227
}
227
 
228