zephyr: replace zephyr integer types with C99 types
git grep -l 'u\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/u\(8\|16\|32\|64\)_t/uint\1_t/g" git grep -l 's\(8\|16\|32\|64\)_t' | \ xargs sed -i "s/s\(8\|16\|32\|64\)_t/int\1_t/g" Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
parent
ee6fa31af6
commit
a1b77fd589
2364 changed files with 32505 additions and 32505 deletions
|
@ -64,10 +64,10 @@ static inline bool wdt_sam0_is_enabled(void)
|
|||
#endif
|
||||
}
|
||||
|
||||
static u32_t wdt_sam0_timeout_to_wdt_period(u32_t timeout_ms)
|
||||
static uint32_t wdt_sam0_timeout_to_wdt_period(uint32_t timeout_ms)
|
||||
{
|
||||
u32_t next_pow2;
|
||||
u32_t cycles;
|
||||
uint32_t next_pow2;
|
||||
uint32_t cycles;
|
||||
|
||||
/* Calculate number of clock cycles @ 1.024 kHz input clock */
|
||||
cycles = (timeout_ms * 1024U) / 1000;
|
||||
|
@ -93,7 +93,7 @@ static void wdt_sam0_isr(struct device *dev)
|
|||
}
|
||||
}
|
||||
|
||||
static int wdt_sam0_setup(struct device *dev, u8_t options)
|
||||
static int wdt_sam0_setup(struct device *dev, uint8_t options)
|
||||
{
|
||||
struct wdt_sam0_dev_data *data = dev->driver_data;
|
||||
|
||||
|
@ -140,7 +140,7 @@ static int wdt_sam0_install_timeout(struct device *dev,
|
|||
const struct wdt_timeout_cfg *cfg)
|
||||
{
|
||||
struct wdt_sam0_dev_data *data = dev->driver_data;
|
||||
u32_t window, per;
|
||||
uint32_t window, per;
|
||||
|
||||
/* CONFIG is enable protected, error out if already enabled */
|
||||
if (wdt_sam0_is_enabled()) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue