mirror of
https://github.com/mudita/MuditaOS.git
synced 2026-04-23 08:33:48 -04:00
Updated FreeRTOS source code to 10.4.6. Moved FreeRTOS sources to the third-party directory. Added necessary changes to the CMake configuration. Split FreeRTOSConfig.h. From now, each board has its own. Added missing log headers. Minor refactor of the module-os cmake. Fixed stack overflows in bell application main and time service.
19 lines
595 B
C++
19 lines
595 B
C++
// Copyright (c) 2017-2021, Mudita Sp. z.o.o. All rights reserved.
|
|
// For licensing, see https://github.com/mudita/MuditaOS/LICENSE.md
|
|
|
|
#include <endpoints/nullEndpoint/NullEndpoint.hpp>
|
|
#include <endpoints/message/Sender.hpp>
|
|
#include <log/log.hpp>
|
|
|
|
namespace sdesktop::endpoints
|
|
{
|
|
|
|
auto NullEndpoint::handle(Context &context) -> void
|
|
{
|
|
context.setResponseStatus(http::Code::BadRequest);
|
|
sender::putToSendQueue(context.createSimpleResponse());
|
|
LOG_DEBUG("Unknown Endpoint #%d", static_cast<int>(context.getEndpoint()));
|
|
}
|
|
|
|
} // namespace sdesktop::endpoints
|