mirror of
https://github.com/firewalkwithm3/qmk_firmware.git
synced 2024-11-22 11:30:30 +08:00
Format code according to conventions (#15196)
This commit is contained in:
parent
e0a5056963
commit
cc7600cf0e
|
@ -385,12 +385,9 @@ ISR(TIMERx_OVF_vect)
|
|||
{
|
||||
|
||||
// Only run this ISR at ~120 Hz
|
||||
if(breath_scale_counter++ == breathing_freq_scale_factor)
|
||||
{
|
||||
if (breath_scale_counter++ == breathing_freq_scale_factor) {
|
||||
breath_scale_counter = 1;
|
||||
}
|
||||
else
|
||||
{
|
||||
} else {
|
||||
return;
|
||||
}
|
||||
uint16_t interval = (uint16_t)breathing_period * breathing_ISR_frequency / BREATHING_STEPS;
|
||||
|
|
Loading…
Reference in a new issue