hal: mpu: fix signed overflow error

This commit is contained in:
Ivan Grokhotkov
2020-12-01 23:29:35 +01:00
parent 4e73cff729
commit da90775d98
8 changed files with 9 additions and 9 deletions

View File

@@ -22,7 +22,7 @@
extern "C" {
#endif
static inline uint32_t mpu_ll_id_to_addr(int id)
static inline uint32_t mpu_ll_id_to_addr(unsigned id)
{
// vpn - id
// 0x00000000 = 0