restored delayUs declaration

This commit is contained in:
Iveta 2024-05-01 15:03:21 +03:00
parent 3fe276f19d
commit 311f0a6fa6
2 changed files with 2 additions and 2 deletions

View File

@ -44,7 +44,7 @@ namespace sta
* *
* @param us Microseconds * @param us Microseconds
*/ */
void delayUs(uint16_t us); void delayUs(uint32_t us);
#endif // STA_STM32_DELAY_US_TIM #endif // STA_STM32_DELAY_US_TIM

View File

@ -62,7 +62,7 @@ namespace sta
return (updateFreq >= 1000000); return (updateFreq >= 1000000);
} }
void delayUs(uint16_t us) void delayUs(uint32_t us)
{ {
// Check if the specified timer is usable for microsecond delays. // Check if the specified timer is usable for microsecond delays.
STA_ASSERT(isValidDelayUsTIM()); STA_ASSERT(isValidDelayUsTIM());