Added force inline to reduce code size
This commit is contained in:
@@ -81,7 +81,7 @@ class Hardware1 {
|
||||
using data_t = typename cfg::data_t;
|
||||
static constexpr auto DATA_BITS = cfg::DATA_BITS;
|
||||
|
||||
static void init()
|
||||
static void init() FORCE_INLINE
|
||||
{
|
||||
HardwareImpl::init();
|
||||
}
|
||||
@@ -91,9 +91,9 @@ class Hardware1 {
|
||||
HardwareImpl::txByte(byte);
|
||||
}
|
||||
|
||||
static data_t rxByte() {}
|
||||
static data_t rxByte() FORCE_INLINE {}
|
||||
|
||||
static data_t peek() {}
|
||||
static data_t peek() FORCE_INLINE {}
|
||||
|
||||
private:
|
||||
using HardwareImpl = detail::Hardware<detail::Registers1, detail::ControlFlagsA1, detail::ControlFlagsB1,
|
||||
|
||||
Reference in New Issue
Block a user