Last call to make your voice heard! Our 2022 Developer Survey closes in less than a week. Take survey.

Questions tagged [inline]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
3 answers
482 views

Is it necessary to set a function with always_inline attribution when the function would work maybe once?

I'm going through a library for the ILI9488 running by SPI and want to copy this library in my version. In the beginning of the source file, there's a guard for the SPI_HAS_TRANSACTION that if the ...
user avatar
  • 183
3 votes
1 answer
408 views

What is the logic behind Arduino inlining `HardwareSerial::_rx_complete_irq()` for receiving serial data (but NOT `_tx_udr_empty_irq()`)?

Q: What is the logic behind Arduino inlining HardwareSerial::_rx_complete_irq() for receiving serial data (but NOT _tx_udr_empty_irq()), and when is it advisable? From the bottom of the HardwareSerial ...
user avatar