We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 179413a commit 42926c6Copy full SHA for 42926c6
atmel-samd/mphalport.c
@@ -248,13 +248,13 @@ void mp_hal_delay_us(mp_uint_t delay) {
248
static irqflags_t irq_flags;
249
250
void mp_hal_disable_all_interrupts(void) {
251
- // Disable all interrupt sources for timing critical sections.
252
- // Disable ASF-based interrupts.
253
- irq_flags = cpu_irq_save();
+ // Disable all interrupt sources for timing critical sections.
+ // Disable ASF-based interrupts.
+ irq_flags = cpu_irq_save();
254
}
255
256
void mp_hal_enable_all_interrupts(void) {
257
- // Enable all interrupt sources after timing critical sections.
258
- // Restore ASF-based interrupts.
259
- cpu_irq_restore(irq_flags);
+ // Enable all interrupt sources after timing critical sections.
+ // Restore ASF-based interrupts.
+ cpu_irq_restore(irq_flags);
260
0 commit comments