File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -33,7 +33,7 @@ typedef struct __attribute__((__packed__))
3333 uint8_t enableEccAddr;
3434 uint8_t enableEccValue;
3535 uint8_t disableEccValue;
36- } Conf ;
36+ } ParallelChipConf ;
3737
3838ParallelChipInfo::ParallelChipInfo ()
3939{
@@ -120,7 +120,7 @@ void ParallelChipInfo::chipInfoToStmParams(StmParams *stmParams)
120120
121121const QByteArray &ParallelChipInfo::getHalConf ()
122122{
123- Conf conf;
123+ ParallelChipConf conf;
124124 StmParams stmParams;
125125
126126 chipInfoToStmParams (&stmParams);
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ typedef struct __attribute__((__packed__))
1717 uint8_t busy_bit;
1818 uint8_t busy_state;
1919 uint32_t freq;
20- } Conf ;
20+ } SpiChipConf ;
2121
2222SpiChipInfo::SpiChipInfo ()
2323{
@@ -30,7 +30,7 @@ SpiChipInfo::~SpiChipInfo()
3030
3131const QByteArray &SpiChipInfo::getHalConf ()
3232{
33- Conf conf;
33+ SpiChipConf conf;
3434
3535 conf.page_offset = static_cast <uint8_t >(params[CHIP_PARAM_PAGE_OFF]);
3636 conf.read_cmd = static_cast <uint8_t >(params[CHIP_PARAM_READ_CMD]);
You can’t perform that action at this time.
0 commit comments