Fork of Adafruit OLED driver to debug integration with RedBear Nano SPI driver

Dependents:   SPI_GFX_nano

Fork of Adafruit_GFX by Neal Horman

Revision:
18:515811a6a589
Parent:
17:ad8b4fb845ff
Child:
19:faf5ed3eb799
--- a/Adafruit_SSD1306.h	Wed Feb 25 20:05:23 2015 +0000
+++ b/Adafruit_SSD1306.h	Wed Feb 25 20:32:45 2015 +0000
@@ -235,11 +235,11 @@
 	 * @param rawHeight - the vertical number of pixels for the display, defaults to 32
 	 * @param rawWidth - the horizonal number of pixels for the display, defaults to 128
 	 */
-	Adafruit_SSD1306_nrf(NRF_SPI_Type *_spi, PinName DC, PinName RST, PinName CS, uint8_t rawHieght = 32, uint8_t rawWidth = 128)
+	Adafruit_SSD1306_nrf(SPIClass *_spi, PinName DC, PinName RST, PinName CS, uint8_t rawHieght = 32, uint8_t rawWidth = 128)
 	    : Adafruit_SSD1306(RST, rawHieght, rawWidth)
 	    , cs(CS,true)
 	    , dc(DC,false)
-	    , mspi(_spi)
+	    , mspi(*_spi)
 	    {
 		    begin();
 		    splash();