Skip to content

Commit

Permalink
Rename A822 to A831
Browse files Browse the repository at this point in the history
  • Loading branch information
Johnson-Fan committed May 2, 2018
1 parent e857578 commit 4fafa6f
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions driver-avalon8.c
Original file line number Diff line number Diff line change
Expand Up @@ -133,12 +133,12 @@ struct avalon8_dev_description avalon8_dev_table[] = {
}
},
{
"822",
822,
"831",
831,
4,
26,
AVA8_MM822_VIN_ADC_RATIO,
AVA8_MM822_VOUT_ADC_RATIO,
AVA8_MM831_VIN_ADC_RATIO,
AVA8_MM831_VOUT_ADC_RATIO,
5,
{
AVA8_DEFAULT_FREQUENCY_0M,
Expand Down
4 changes: 2 additions & 2 deletions driver-avalon8.h
Original file line number Diff line number Diff line change
Expand Up @@ -170,11 +170,11 @@
#define AVA8_DEFAULT_OVERCLOCKING_CNT 1

#define AVA8_MM821_VIN_ADC_RATIO (3.3 / 4095.0 * 25.62 / 5.62 * 1000.0 * 100.0)
#define AVA8_MM822_VIN_ADC_RATIO (3.3 / 4095.0 * 25.62 / 5.62 * 1000.0 * 100.0)
#define AVA8_MM831_VIN_ADC_RATIO (3.3 / 4095.0 * 25.62 / 5.62 * 1000.0 * 100.0)
#define AVA8_MM841_VIN_ADC_RATIO (3.3 / 4095.0 * 25.62 / 5.62 * 1000.0 * 100.0)

#define AVA8_MM821_VOUT_ADC_RATIO (3.3 / 4095.0 * 63.0 / 20.0 * 10000.0 * 100.0)
#define AVA8_MM822_VOUT_ADC_RATIO (3.3 / 4095.0 * 63.0 / 20.0 * 10000.0 * 100.0)
#define AVA8_MM831_VOUT_ADC_RATIO (3.3 / 4095.0 * 63.0 / 20.0 * 10000.0 * 100.0)
#define AVA8_MM841_VOUT_ADC_RATIO (3.3 / 4095.0 * 63.0 / 20.0 * 10000.0 * 100.0)

struct avalon8_pkg {
Expand Down

0 comments on commit 4fafa6f

Please sign in to comment.