fix formatting
This commit is contained in:
parent
b2a44a8074
commit
73ce5d2b4e
@ -124,10 +124,9 @@ uint pio_add_program(PIO pio, const pio_program_t *program) {
|
|||||||
return offset;
|
return offset;
|
||||||
}
|
}
|
||||||
|
|
||||||
void pio_add_program_at_offset(PIO pio, const pio_program_t *program, uint offset)
|
void pio_add_program_at_offset(PIO pio, const pio_program_t *program, uint offset) {
|
||||||
{
|
|
||||||
uint32_t save = hw_claim_lock();
|
uint32_t save = hw_claim_lock();
|
||||||
_pio_add_program_at_offset(pio, program, offset);
|
_pio_add_program_at_offset(pio, program, offset);
|
||||||
hw_claim_unlock(save);
|
hw_claim_unlock(save);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user