Skip to content

Commit 8a9b004

Browse files
committed
Fix: actual type is bool, not uint8_t.
1 parent ca64425 commit 8a9b004

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

Diff for: src/T1SMacSettings.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ class T1SMacSettings : public arduino::Printable
4343

4444
virtual size_t printTo(Print & p) const override;
4545

46-
uint8_t mac_promiscuous_mode() const { return _mac_promiscuous_mode; }
47-
uint8_t mac_tx_cut_through() const { return _mac_tx_cut_through; }
48-
uint8_t mac_rx_cut_through() const { return _mac_rx_cut_through; }
46+
bool mac_promiscuous_mode() const { return _mac_promiscuous_mode; }
47+
bool mac_tx_cut_through() const { return _mac_tx_cut_through; }
48+
bool mac_rx_cut_through() const { return _mac_rx_cut_through; }
4949
};

0 commit comments

Comments
 (0)