Subversion Repositories Projects

Rev

Rev 783 | Rev 826 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 783 Rev 800
Line 16... Line 16...
16
 *   along with this program; if not, write to the                          *
16
 *   along with this program; if not, write to the                          *
17
 *   Free Software Foundation, Inc.,                                        *
17
 *   Free Software Foundation, Inc.,                                        *
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.              *
18
 *   59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.              *
19
 ****************************************************************************/
19
 ****************************************************************************/
Line -... Line 20...
-
 
20
 
20
 
21
#include "main.h"
21
#include <avr/io.h>
22
#include <avr/io.h>
22
#include <avr/eeprom.h>
23
#include <avr/eeprom.h>
23
#include <avr/pgmspace.h>
24
#include <avr/pgmspace.h>
24
#include <avr/interrupt.h>
25
#include <avr/interrupt.h>
25
#include <util/delay.h>
26
#include <util/delay.h>
26
#include "max7456_software_spi.h"
27
#include "max7456_software_spi.h"
27
#include "config.h"
-
 
28
#include "main.h"
28
#include "config.h"
29
#include "buttons.h"
29
#include "buttons.h"
Line 30... Line 30...
30
#include "usart1.h"
30
#include "usart1.h"
Line 60... Line 60...
60
    } else {
60
    } else {
61
        if (verbose) write_ascii_string_pgm(2, 2, ee_msg[1]); // Loading data
61
        if (verbose) write_ascii_string_pgm(2, 2, ee_msg[1]); // Loading data
62
    }
62
    }
63
}
63
}
Line 64... Line -...
64
 
-
 
65
 
64
 
66
/**
65
/**
67
 * save data to eeprom
66
 * save data to eeprom
68
 */
67
 */
69
void save_eeprom() {
68
void save_eeprom() {