Subversion Repositories NaviCtrl

Rev

Rev 758 | Rev 767 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 758 Rev 764
Line 215... Line 215...
215
                        {
215
                        {
216
                                UART1_PutString("ERROR: Creating default settings file!");
216
                                UART1_PutString("ERROR: Creating default settings file!");
217
                                return;
217
                                return;
218
                        }
218
                        }
219
                        // run thrue all parameters and set value to default
219
                        // run thrue all parameters and set value to default
220
                        fputs_("########    MikroKopter configuration file     ########\r\n", fp); // write to file
220
                        fputs_("########    NaviControl configuration file     ########\r\n", fp); // write to file
221
                        fputs_("#------------------------------------------------------\r\n\r\n", fp); // write to file
221
                        fputs_("#------------------------------------------------------\r\n\r\n", fp); // write to file
222
                        for (i = 0; i < sizeof(CFG_Parameter) / sizeof(Parameter_t); i++)
222
                        for (i = 0; i < sizeof(CFG_Parameter) / sizeof(Parameter_t); i++)
223
                        {
223
                        {
224
                                s8 tmp_comment[61];
224
                                s8 tmp_comment[61];
225
                                tmp_comment[60] = '\0';
225
                                tmp_comment[60] = '\0';