Project

General

Profile

Revision 377

Added by Kevin Woo about 16 years ago

Cleaned syntax.

View differences:

battery.c
102 102
  
103 103
  int batt_reading = battery8();
104 104

  
105
  if(next_read == 0) {
105
  if(next_read == 0) 
106
  {
106 107
    if(batt_reading > BATTERY_LOWV)
107 108
    {
108 109
        ret = 0;
......
143 144
  int i;
144 145
  long int sum = 0;
145 146
  
146
  for(i = 0; i < n_samples; i++) {
147
  for(i = 0; i < n_samples; i++) 
148
  {
147 149
    sum += battery8();
148 150
  }
149 151
  

Also available in: Unified diff