ERIS CORE

◆ update_setup()

bool AudioStream::update_setup ( void  )
staticprotectedinherited

Definition at line 380 of file AudioStream.cpp.

381 {
382  if (update_scheduled) return false;
383  attachInterruptVector(IRQ_SOFTWARE, software_isr);
384  NVIC_SET_PRIORITY(IRQ_SOFTWARE, 208); // 255 = lowest priority
385  NVIC_ENABLE_IRQ(IRQ_SOFTWARE);
386  update_scheduled = true;
387  return true;
388 }
static bool update_scheduled
Definition: AudioStream.h:207
friend void software_isr(void)

References AudioStream::software_isr, and AudioStream::update_scheduled.