Questions tagged [inline]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
3answers
212 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 ...
3
votes
1answer
343 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 ...