REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
cblock.cpp
Go to the documentation of this file.
1// Copyright (c) 2024 anabrid GmbH
2// Contact: https://www.anabrid.com/licensing/
3// SPDX-License-Identifier: MIT OR GPL-2.0-or-later
4
5#include "native/cblock.h"
6
7blocks::CBlock *blocks::CBlock::from_entity_classifier(entities::EntityClassifier classifier,
8 const bus::addr_t block_address) {
9
10 return new CBlock(new DummyCBlockHAL({}));
11}
12
13bool blocks::DummyCBlockHAL::write_factor(uint8_t idx, float value) {
14 if (idx >= 32)
15 return false;
16 return true;
17}
bool write_factor(uint8_t idx, float value) override
Definition cblock.cpp:13