Subversion Repositories FlightCtrl

Rev

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

Rev 2439 Rev 2440
Line 173... Line 173...
173
        JetiBox_printfxy(0,0,"Load Waypoints");
173
        JetiBox_printfxy(0,0,"Load Waypoints");
174
        JetiBox_printfxy(0,1,"(Relative)   ");
174
        JetiBox_printfxy(0,1,"(Relative)   ");
175
#endif
175
#endif
176
}
176
}
Line -... Line 177...
-
 
177
 
177
 
178
#if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__))
178
void Menu_POINT_LD(uint8_t key)
179
void Menu_POINT_LD(uint8_t key)
179
{                       //0123456789ABCDEF
-
 
180
#if !defined (RECEIVER_SPEKTRUM_DX7EXP) && !defined (RECEIVER_SPEKTRUM_DX8EXP)
180
{                       //0123456789ABCDEF
181
        JetiBox_printfxy(0,0,"Load singl.Point");
181
        JetiBox_printfxy(0,0,"Load singl.Point");
182
//      JetiBox_printfxy(0,1,"(Fixed)      ");
-
 
183
#endif
182
//      JetiBox_printfxy(0,1,"(Fixed)      ");
-
 
183
}
Line -... Line 184...
-
 
184
#endif
184
}
185
 
185
 
186
#if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__))
186
void Menu_POINT_SV(uint8_t key)
-
 
187
{                       //0123456789ABCDEF
187
void Menu_POINT_SV(uint8_t key)
188
#if !defined (RECEIVER_SPEKTRUM_DX7EXP) && !defined (RECEIVER_SPEKTRUM_DX8EXP)
188
{                       //0123456789ABCDEF
189
        JetiBox_printfxy(0,0,"Save singl.Point");
-
 
190
//      JetiBox_printfxy(0,1,"(Relative)   ");
189
        JetiBox_printfxy(0,0,"Save singl.Point");
-
 
190
//      JetiBox_printfxy(0,1,"(Relative)   ");
Line -... Line 191...
-
 
191
}
191
#endif
192
#endif
192
}
193
 
193
 
-
 
194
void Menu_POINT_SV2(uint8_t key)
194
#if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__))
Line 195... Line 195...
195
{                       //0123456789ABCDEF
195
void Menu_POINT_SV2(uint8_t key)
196
#if !defined (RECEIVER_SPEKTRUM_DX7EXP) && !defined (RECEIVER_SPEKTRUM_DX8EXP)
196
{                       //0123456789ABCDEF
197
static unsigned char load_waypoint_tmp = 1, changed;
197
static unsigned char load_waypoint_tmp = 1, changed;
Line 221... Line 221...
221
        {
221
        {
222
         ToNC_Store_SingePoint = load_waypoint_tmp;
222
         ToNC_Store_SingePoint = load_waypoint_tmp;
223
         changed = 0;
223
         changed = 0;
224
        }
224
        }
225
  }
225
  }
226
#endif
-
 
227
}
226
}
-
 
227
#endif
Line -... Line 228...
-
 
228
 
228
 
229
#if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__))
229
void Menu_POINT_LD2(uint8_t key)
230
void Menu_POINT_LD2(uint8_t key)
230
{                       //0123456789ABCDEF
-
 
231
#if !defined (RECEIVER_SPEKTRUM_DX7EXP) && !defined (RECEIVER_SPEKTRUM_DX8EXP)
231
{                       //0123456789ABCDEF
Line 232... Line 232...
232
static unsigned char load_waypoint_tmp = 1, changed;
232
static unsigned char load_waypoint_tmp = 1, changed;
233
 
233
 
234
//  if(WPL_Name[0] == 0) JetiBox_printfxy(0,0,"FIX Waypoints")
234
//  if(WPL_Name[0] == 0) JetiBox_printfxy(0,0,"FIX Waypoints")
Line 253... Line 253...
253
        {
253
        {
254
         ToNC_Load_SingePoint = load_waypoint_tmp;
254
         ToNC_Load_SingePoint = load_waypoint_tmp;
255
         changed = 0;
255
         changed = 0;
256
        }
256
        }
257
  }
257
  }
258
#endif
-
 
259
}
258
}
-
 
259
#endif
Line 260... Line 260...
260
 
260
 
261
 
261
 
262
void Menu_WPL_A2(uint8_t key)
262
void Menu_WPL_A2(uint8_t key)
Line 374... Line 374...
374
*/
374
*/
Line 375... Line 375...
375
 
375
 
376
const MENU_ENTRY JetiBox_Menu[] PROGMEM=
376
const MENU_ENTRY JetiBox_Menu[] PROGMEM=
377
{ // l  r  u  d  pHandler
377
{ // l  r  u  d  pHandler
-
 
378
#if !defined (RECEIVER_SPEKTRUM_DX7EXP) && !defined (RECEIVER_SPEKTRUM_DX8EXP)
-
 
379
 
378
#if !defined (RECEIVER_SPEKTRUM_DX7EXP) && !defined (RECEIVER_SPEKTRUM_DX8EXP)
380
#if (defined(__AVR_ATmega1284__) || defined(__AVR_ATmega1284P__))
379
        {8, 1, 0, 0, &Menu_Status },    // 0
381
        {8, 1, 0, 0, &Menu_Status },    // 0
380
        {0, 2, 1, 1, &Menu_Temperature },       // 1
382
        {0, 2, 1, 1, &Menu_Temperature },       // 1
381
        {1, 3, 2, 2, &Menu_Battery },   // 2
383
        {1, 3, 2, 2, &Menu_Battery },   // 2
382
        {2, 4, 3, 3, &Menu_PosInfo },   // 3
384
        {2, 4, 3, 3, &Menu_PosInfo },   // 3
Line 388... Line 390...
388
 
390
 
389
        {4, 9, 9, 9, &Menu_WPL_A2 },    // 9
391
        {4, 9, 9, 9, &Menu_WPL_A2 },    // 9
390
        {5,10,10,10, &Menu_WPL_R2 },    // 10
392
        {5,10,10,10, &Menu_WPL_R2 },    // 10
391
        {6,11,11,11, &Menu_POINT_LD2},  // 11
393
        {6,11,11,11, &Menu_POINT_LD2},  // 11
-
 
394
        {7,12,12,12, &Menu_POINT_SV2},  // 12
-
 
395
#else
-
 
396
        {6, 1, 0, 0, &Menu_Status },    // 0
-
 
397
        {0, 2, 1, 1, &Menu_Temperature },       // 1
-
 
398
        {1, 3, 2, 2, &Menu_Battery },   // 2
-
 
399
        {2, 4, 3, 3, &Menu_PosInfo },   // 3
-
 
400
        {3, 5, 7, 7, &Menu_WPL_A1 },    // 4
-
 
401
        {4, 6, 8, 8, &Menu_WPL_R1 },    // 5
-
 
402
        {5, 0, 6, 6, &Magnet_Values },  // 6
-
 
403
 
-
 
404
        {4, 7, 7, 7, &Menu_WPL_A2 },    // 7
-
 
405
        {5, 8, 8, 8, &Menu_WPL_R2 },    // 8
Line 392... Line 406...
392
        {7,12,12,12, &Menu_POINT_SV2},  // 12
406
#endif
393
       
407
       
Line 394... Line 408...
394
#endif
408
#endif