Commit for backup purpose
This commit is contained in:
@@ -75,7 +75,7 @@
|
||||
#define BATTERY_FULL 4005 /*100%*/ /*4.1V*/ /*4005*/
|
||||
|
||||
|
||||
#define ADC_sample_count 100 //25 /*joey modify ADC read method to catch top 5 low value 2009/12/21*/
|
||||
#define ADC_sample_count 10 //100 //25 /*joey modify ADC read method to catch top 5 low value 2009/12/21*/
|
||||
#define ADC_jig_voltage 3700 /*joey for ENV ADC to voltage 2010/01/15*/
|
||||
|
||||
#define ADC_READ_LEVEL_VAULE _IOR('S', 0x01, unsigned long)
|
||||
@@ -436,6 +436,9 @@ static int s3c_adc_ioctl(struct inode *inode, struct file *file,
|
||||
|
||||
ret = 0;
|
||||
break;
|
||||
/* case ((( 2U ) << ( ( ( 0 + 8 ) + 8 ) + 14 ) ) |
|
||||
* (( ( 'S' ) ) << ( 0 + 8 ) ) | (( ( 0x04 ) ) << 0 ) |
|
||||
* (( ( ((sizeof( unsigned long ) == sizeof( unsigned long [1]) && sizeof( unsigned long ) < (1 << 14 )) ? sizeof( unsigned long ) : __invalid_size_argument_for_IOC) ) ) << ( ( 0 + 8 ) + 8 ) )): */
|
||||
case ADC_READ_RAW_VAULE:
|
||||
for(i=0; i<ADC_sample_count ;i++)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user