11#include " writeFuseSelectPage.h"
22
3- WriteFuseSelectPage::WriteFuseSelectPage (PageManager* manager, byte lowFuse, byte highFuse, byte extFuse, byte lockFuse, byte calibration)
3+ WriteFuseSelectPage::WriteFuseSelectPage (PageManager* manager, byte sig1, byte sig2, byte sig3, byte lowFuse, byte highFuse, byte extFuse, byte lockFuse, byte calibration)
44 : TabPage(manager, 5 )
55{
6+ this ->sig1 = sig1;
7+ this ->sig2 = sig2;
8+ this ->sig3 = sig3;
9+
610 this ->val_lowFuse = lowFuse;
711 this ->val_highFuse = highFuse;
812 this ->val_extFuse = extFuse;
@@ -16,19 +20,19 @@ void WriteFuseSelectPage::confirm()
1620 {
1721 case 0 : // Low
1822 this ->pageManager ->changePage (new WriteFuseInputPage (
19- this ->pageManager , lowFuse, this ->val_lowFuse ));
23+ this ->pageManager , this -> sig1 , this -> sig2 , this -> sig3 , lowFuse, this ->val_lowFuse ));
2024 return ;
2125 case 1 : // High
2226 this ->pageManager ->changePage (new WriteFuseInputPage (
23- this ->pageManager , highFuse, this ->val_highFuse ));
27+ this ->pageManager , this -> sig1 , this -> sig2 , this -> sig3 , highFuse, this ->val_highFuse ));
2428 return ;
2529 case 2 : // Ext
2630 this ->pageManager ->changePage (new WriteFuseInputPage (
27- this ->pageManager , extFuse, this ->val_extFuse ));
31+ this ->pageManager , this -> sig1 , this -> sig2 , this -> sig3 , extFuse, this ->val_extFuse ));
2832 return ;
2933 case 3 : // Lock
3034 this ->pageManager ->changePage (new WriteFuseInputPage (
31- this ->pageManager , lockFuse, this ->val_lockFuse ));
35+ this ->pageManager , this -> sig1 , this -> sig2 , this -> sig3 , lockFuse, this ->val_lockFuse ));
3236 return ;
3337 case 4 :
3438 this ->pageManager ->changePage (new MainPage (this ->pageManager ));
0 commit comments