Skip to content

Commit 27b0c34

Browse files
committed
Remove baseAddr() since that could cause inconsistency when configured externally
1 parent b6a4fa3 commit 27b0c34

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

cores/nRF5/HardwarePWM.h

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -68,12 +68,6 @@ class HardwarePWM
6868

6969
void setClockDiv(uint8_t div); // value is PWM_PRESCALER_PRESCALER_DIV_x, DIV1 is 16Mhz
7070

71-
// Direct access to peripheral base address
72-
NRF_PWM_Type * const baseAddr(void)
73-
{
74-
return _pwm;
75-
}
76-
7771
// Cooperative ownership sharing
7872

7973
// returns true ONLY when (1) no PWM channel has a pin, and (2) the owner token is nullptr

0 commit comments

Comments
 (0)