Remove baseAddr() since that could cause inconsistency when configured externally
This commit is contained in:
1 parent
b6a4fa3fa4
commit
27b0c34f80
1 file changed
-6
@@ -68,12 +68,6 @@ class HardwarePWM
|
||||
|
||||
void setClockDiv(uint8_t div); // value is PWM_PRESCALER_PRESCALER_DIV_x, DIV1 is 16Mhz
|
||||
|
||||
// Direct access to peripheral base address
|
||||
NRF_PWM_Type * const baseAddr(void)
|
||||
{
|
||||
return _pwm;
|
||||
}
|
||||
|
||||
// Cooperative ownership sharing
|
||||
|
||||
// returns true ONLY when (1) no PWM channel has a pin, and (2) the owner token is nullptr
|
||||
|
||||
Reference in new issue
Block a user