mirror of
https://github.com/ByteWelder/Tactility.git
synced 2026-08-18 07:55:06 +00:00
Fix for compiling
This commit is contained in:
parent
b85d2a24cf
commit
3fb38a8f0a
@ -43,7 +43,7 @@ struct Axs5106Internal {
|
||||
// region Driver lifecycle
|
||||
|
||||
static error_t reset_pulse(GpioDescriptor* descriptor) {
|
||||
ok = ok && gpio_descriptor_set_level(descriptor, true) == ERROR_NONE;
|
||||
bool ok = gpio_descriptor_set_level(descriptor, true) == ERROR_NONE;
|
||||
vTaskDelay(pdMS_TO_TICKS(10));
|
||||
ok = ok && gpio_descriptor_set_level(descriptor, false) == ERROR_NONE;
|
||||
vTaskDelay(pdMS_TO_TICKS(10));
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user