Skip to content

Commit

Permalink
default fscal value
Browse files Browse the repository at this point in the history
  • Loading branch information
fishpepper committed Aug 30, 2016
1 parent 1b7b427 commit 5eeb4d2
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
2 changes: 2 additions & 0 deletions board/d4rii/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -177,4 +177,6 @@
// systick prio
#define NVIC_PRIO_SYSTICK 0

#define DEFAULT_FSCAL_VALUE -62

#endif //__PIN_CONFIG_H__
2 changes: 2 additions & 0 deletions board/usky/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -45,3 +45,5 @@
#define SOFT_SERIAL_PIN 7


#define DEFAULT_FSCAL_VALUE -20

2 changes: 2 additions & 0 deletions board/vd5m/config.h
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,5 @@
#define SOFT_SERIAL_PIN 7



#define DEFAULT_FSCAL_VALUE -20
3 changes: 1 addition & 2 deletions storage.c
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@ void storage_read_from_flash(void){
//hard coded config for debugging:
storage.frsky_txid[0] = 0x16;
storage.frsky_txid[1] = 0x68;
storage.frsky_freq_offset = -62; //USKY proto1
//storage.frsky_freq_offset = -20; //?
storage.frsky_freq_offset = DEFAULT_FSCAL_VALUE;

for(i=0; i<FRSKY_HOPTABLE_SIZE; i++){
storage.frsky_hop_table[i] = tmp[i];
Expand Down

0 comments on commit 5eeb4d2

Please sign in to comment.