diff --git a/Raspberry.IO.GeneralPurpose/GpioConnectionDriver.cs b/Raspberry.IO.GeneralPurpose/GpioConnectionDriver.cs index 8cef799..97b8ab2 100644 --- a/Raspberry.IO.GeneralPurpose/GpioConnectionDriver.cs +++ b/Raspberry.IO.GeneralPurpose/GpioConnectionDriver.cs @@ -291,6 +291,7 @@ private static uint GetProcessorBaseAddress(Processor processor) { switch (processor) { + case Processor.Bcm2835: case Processor.Bcm2708: return Interop.BCM2835_GPIO_BASE; diff --git a/Raspberry.IO.GeneralPurpose/MemoryGpioConnectionDriver.cs b/Raspberry.IO.GeneralPurpose/MemoryGpioConnectionDriver.cs index 98af11f..2bd7172 100644 --- a/Raspberry.IO.GeneralPurpose/MemoryGpioConnectionDriver.cs +++ b/Raspberry.IO.GeneralPurpose/MemoryGpioConnectionDriver.cs @@ -247,6 +247,7 @@ private static uint GetProcessorBaseAddress(Processor processor) { switch (processor) { + case Processor.Bcm2835: case Processor.Bcm2708: return Interop.BCM2835_GPIO_BASE; diff --git a/Raspberry.IO.InterIntegratedCircuit/I2cDriver.cs b/Raspberry.IO.InterIntegratedCircuit/I2cDriver.cs index e224193..d0a9187 100644 --- a/Raspberry.IO.InterIntegratedCircuit/I2cDriver.cs +++ b/Raspberry.IO.InterIntegratedCircuit/I2cDriver.cs @@ -299,6 +299,7 @@ private static uint GetProcessorBscAddress(Processor processor) { switch (processor) { + case Processor.Bcm2835: case Processor.Bcm2708: return Interop.BCM2835_BSC1_BASE; @@ -314,6 +315,7 @@ private static uint GetProcessorGpioAddress(Processor processor) { switch (processor) { + case Processor.Bcm2835: case Processor.Bcm2708: return Interop.BCM2835_GPIO_BASE; pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy