feat: add TX continuous wave mode and update regulator mode handling

This commit is contained in:
2025-08-07 12:01:12 +08:00
parent 249c125447
commit c4a61d2708
2 changed files with 55 additions and 28 deletions

View File

@ -27,6 +27,11 @@ enum LoRaBandwidth : uint8_t {
BW_500_0 = 0x06,
};
enum RegulatorMode : uint8_t {
REGULATOR_LDO = RADIOLIB_SX126X_REGULATOR_LDO,
REGULATOR_DC_DC = RADIOLIB_SX126X_REGULATOR_DC_DC,
};
inline const char *to_str(LoRaBandwidth bw) {
switch (bw) {
case LoRaBandwidth::BW_7_8: