Skip to content

Commit

Permalink
Fix RAM speed value
Browse files Browse the repository at this point in the history
  • Loading branch information
IanSB committed Nov 19, 2021
1 parent f0da5c1 commit b008efb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/info.c
Expand Up @@ -44,7 +44,7 @@ int get_revision() {
}
}

int get_clock_rate(int clk_id) {
unsigned int get_clock_rate(int clk_id) {
rpi_mailbox_property_t *buf;
RPI_PropertyInit();
RPI_PropertyAddTag(TAG_GET_CLOCK_RATE, clk_id);
Expand Down
2 changes: 1 addition & 1 deletion src/info.h
Expand Up @@ -21,7 +21,7 @@ extern int get_speed();
/* Cached on boot, so this is safe to call at any time */
extern char *get_info_string();

extern int get_clock_rate(int clk_id);
extern unsigned int get_clock_rate(int clk_id);
extern void set_clock_rates(unsigned int cpu, unsigned int core, unsigned int sdram);

int get_revision();
Expand Down

0 comments on commit b008efb

Please sign in to comment.