Ignore:
Timestamp:
02/18/12 05:27:03 (15 months ago)
Author:
philmoz
Message:

Re-align CHDK and CHDK-DE code base (part 5) - http://chdk.setepontos.com/index.php?topic=7601.0

  • whitespace cleanup in core & lib
  • align propsetX.h files
  • add some of the CHDK-DE script functions to CHDK
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/release-1_0/core/ptp.c

    r1504 r1678  
    22#ifdef CAM_CHDK_PTP 
    33#include "stddef.h" 
     4 
    45#include "platform.h" 
    56#include "stdlib.h" 
    67#include "ptp.h" 
    78#include "kbd.h" 
    8  
    99#include "core.h" 
    10    
     10 
    1111static int buf_size=0; 
    1212 
     
    422422            fclose(f); 
    423423        } 
     424 
    424425        free(buf); 
    425         if(data_size > 0 && ptp.code != PTP_RC_OK) { 
    426             flush_recv_ptp_data(data,data_size); 
    427         } 
     426        if(data_size > 0 && ptp.code != PTP_RC_OK) {  
     427            flush_recv_ptp_data(data,data_size);  
     428        }  
    428429        break; 
    429430      } 
Note: See TracChangeset for help on using the changeset viewer.