Skip to content

Commit

Permalink
Update secrets.hpp.example
Browse files Browse the repository at this point in the history
  • Loading branch information
PBrunot committed Dec 27, 2023
1 parent c265330 commit d455a10
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions include/secrets.hpp.example
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
#include <cstdint>
#include <array>
#include <string_view>
#include "MachineConfig.hpp"
#include "Machine.hpp"
#include "conf.hpp"
#include "FabUser.hpp"
Expand Down Expand Up @@ -31,9 +32,9 @@ namespace fablabbg::secrets::machine
{
// Machine connected to the ESP32
static constexpr std::string_view machine_name = "MACHINE1";
static constexpr Machine::MachineType machine_type = Machine::MachineType::LASER;
static constexpr MachineType machine_type = MachineType::LASER;
static constexpr std::string_view machine_topic = "shelly/command/switch:0";
static constexpr Machine::MachineID machine_id{1}; /* ID of the machine. Will be used to compose MQTT topic*/
static constexpr MachineID machine_id{1}; /* ID of the machine. Will be used to compose MQTT topic*/

} // namespace fablabbg::secrets::machine

Expand Down

0 comments on commit d455a10

Please sign in to comment.