X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2Fstm%2Fao_profile.h;h=3bf8c0b036cbe182abc344ad8dab02ee31d3e332;hb=e64438271e481ca9f9eeb0ce2b1f9eca071b7ad4;hp=f7dd029ddce6c4087d5d5034177fe5c89543bf19;hpb=fb2b83fcd28199d8c686e676d46d6ecfbf706f37;p=fw%2Faltos diff --git a/src/stm/ao_profile.h b/src/stm/ao_profile.h index f7dd029d..3bf8c0b0 100644 --- a/src/stm/ao_profile.h +++ b/src/stm/ao_profile.h @@ -3,7 +3,8 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; version 2 of the License. + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. * * This program is distributed in the hope that it will be useful, but * WITHOUT ANY WARRANTY; without even the implied warranty of @@ -20,7 +21,7 @@ void ao_profile_init(); -static uint32_t inline ao_profile_tick(void) { +static inline uint32_t ao_profile_tick(void) { uint16_t hi, lo, second_hi; do {