...cosmetic

This commit is contained in:
Wastl Kraus 2025-08-06 14:33:14 +02:00
parent 772024671b
commit 6b054e6029
1 changed files with 12 additions and 11 deletions

View File

@ -19,7 +19,8 @@ constexpr dshot_timing_t DSHOT_TIMINGS[] = {
};
//
DShotRMT::DShotRMT(gpio_num_t gpio, dshot_mode_t mode, bool is_bidirectional) : _gpio(gpio),
DShotRMT::DShotRMT(gpio_num_t gpio, dshot_mode_t mode, bool is_bidirectional):
_gpio(gpio),
_mode(mode),
_is_bidirectional(is_bidirectional),
_timing_config(DSHOT_TIMINGS[mode]),
@ -60,7 +61,7 @@ bool DShotRMT::begin()
// Init DShot Decoder
if (!_initDShotEncoder())
{
Serial.println(DSHOT_MSG_02);
Serial.println(DSHOT_MSG_03);
return DSHOT_ERROR;
}