mirror of
https://github.com/DarkFlippers/unleashed-firmware.git
synced 2025-12-13 13:09:49 +04:00
Furi, FuriHal: remove FreeRTOS headers leaks (#3179)
* Furi: remove direct FreeRTOS timers use * Furi: eliminate FreeRTOS headers leak. What did it cost? Everything... * SubGhz: proper public api for protocols. Format Sources. * Furi: slightly less redundant declarations * Desktop: proper types in printf * Sync API Symbols * Furi: add timer reset and fix dolphin service, fix unit tests * Furi: proper timer restart method naming and correct behavior in timer stopped state. --------- Co-authored-by: hedger <hedger@nanode.su>
This commit is contained in:
@@ -112,7 +112,7 @@ bool buffer_stream_send_from_isr(BufferStream* buffer_stream, const uint8_t* dat
|
||||
return result;
|
||||
}
|
||||
|
||||
Buffer* buffer_stream_receive(BufferStream* buffer_stream, TickType_t timeout) {
|
||||
Buffer* buffer_stream_receive(BufferStream* buffer_stream, uint32_t timeout) {
|
||||
Buffer* buffer;
|
||||
size_t size =
|
||||
furi_stream_buffer_receive(buffer_stream->stream, &buffer, sizeof(Buffer*), timeout);
|
||||
|
||||
@@ -69,7 +69,7 @@ bool buffer_stream_send_from_isr(BufferStream* buffer_stream, const uint8_t* dat
|
||||
* @param timeout
|
||||
* @return Buffer*
|
||||
*/
|
||||
Buffer* buffer_stream_receive(BufferStream* buffer_stream, TickType_t timeout);
|
||||
Buffer* buffer_stream_receive(BufferStream* buffer_stream, uint32_t timeout);
|
||||
|
||||
/**
|
||||
* @brief Get stream overrun count
|
||||
|
||||
Reference in New Issue
Block a user