Updated all static variables to have the s_ prefix and constants to upper case (#591)
* Updated all static variables to have the s_ prefix and constants to upper case * Renamed missed sneaky functions in round.c (+ clang-format...) * Renamed a few more missed constants * Updated rng_update() documentation * Apply suggestions from Copilot's code review Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * Added missed suggestion * Updated rng_update() comment --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
co-authored by
Copilot Autofix powered by AI
parent
6e7d8a8399
commit
7a5a4a1276
+2
-2
@@ -4,7 +4,7 @@
|
||||
|
||||
#include <stdlib.h>
|
||||
|
||||
static const char* s_font_point_lookup[] = {
|
||||
static const char* FONT_POINT_LOOKUP[] = {
|
||||
FP0_STR,
|
||||
FP1_STR,
|
||||
FP2_STR,
|
||||
@@ -20,7 +20,7 @@ static const char* s_font_point_lookup[] = {
|
||||
const char* get_font_point_str(int val)
|
||||
{
|
||||
val = abs(val) % 10;
|
||||
return s_font_point_lookup[val];
|
||||
return FONT_POINT_LOOKUP[val];
|
||||
}
|
||||
|
||||
char digit_char_to_font_point(char digit_char)
|
||||
|
||||
Reference in New Issue
Block a user