replaced solution of week 1 and 2, extern files added so there are no stream it snippets of code in it. added week 5 FileIO .c and .h file

This commit is contained in:
Remco
2016-03-30 21:34:00 +02:00
parent e46c3838ce
commit c2b96802ce
15 changed files with 43 additions and 2 deletions
+19
View File
@@ -0,0 +1,19 @@
#ifndef FileIO_DEF
#define FileIO_DEF
/* User settings */
struct User_Setting
{
unsigned int first_boot;
};
/* Loads the user settings struct from the non-volatile memory */
void load_user_setting(void);
/* Saves the user settings struct from the non-volatile memory */
void save_user_setting(void);
struct User_Setting user_setting; //always loads first before using this struct
#endif