tr
Diff: N5110.cpp
- Revision:
- 51:32f9ffeafb6d
- Parent:
- 50:e73cd097fdcb
diff -r e73cd097fdcb -r 32f9ffeafb6d N5110.cpp --- a/N5110.cpp Wed Jan 22 12:50:25 2020 +0000 +++ b/N5110.cpp Wed Jan 22 13:17:33 2020 +0000 @@ -38,17 +38,6 @@ _dc(new DigitalOut(dcPin)) {} -// Second overload contructor uses the New Gamepad (Rev 2.1) pin mappings -N5110::N5110() - : - _spi(new SPI(PTD2,NC,PTD1)), // create new SPI instance and initialise - _led(new DigitalOut(PTB23)), - _pwr(NULL), // pwr not needed so null it to be safe - _sce(new DigitalOut(PTB19)), - _rst(new DigitalOut(PTC1)), - _dc(new DigitalOut(PTB18)) -{} - N5110::~N5110() { delete _spi;