Skip to content

Commit

Permalink
Remove baseAddr() since that could cause inconsistency when configure…
Browse files Browse the repository at this point in the history
…d externally
  • Loading branch information
jgartrel committed Jun 23, 2023
1 parent b6a4fa3 commit 27b0c34
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions cores/nRF5/HardwarePWM.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 27b0c34

Please sign in to comment.