Real-Time Embedded Network Stack
| 1 | /* Host stub implementations for platform hooks */ |
| 2 | #include "rtnet_stack.h" |
| 3 | |
| 4 | void RTNET_CriticalSectionEnter(void) {} |
| 5 | |
| 6 | void RTNET_CriticalSectionExit(void) {} |
| 7 | |
| 8 | uint32_t RTNET_GetTimeMs(void) |
| 9 | { |
| 10 | static uint32_t t = 0U; |
| 11 | t += 10U; |
| 12 | return t; |
| 13 | } |
| 14 | |
| 15 | void RTNET_HardwareTransmit(const uint8_t* data, uint16_t length) |
| 16 | { |
| 17 | (void)data; |
| 18 | (void)length; |
| 19 | /* Stub: no-op for host build */ |
| 20 | } |
| 21 |