static_cast cleanup
This commit is contained in:
parent
2f479e5fc7
commit
bdb5965f1a
2 changed files with 3 additions and 3 deletions
|
|
@ -14,7 +14,7 @@ Battery::Battery() {
|
|||
}
|
||||
|
||||
void Battery::Init() {
|
||||
nrf_gpio_cfg_input(chargingPin, (nrf_gpio_pin_pull_t) GPIO_PIN_CNF_PULL_Pullup);
|
||||
nrf_gpio_cfg_input(chargingPin, static_cast<nrf_gpio_pin_pull_t> GPIO_PIN_CNF_PULL_Pullup);
|
||||
}
|
||||
|
||||
void Battery::Update() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue