mirror of
https://github.com/RaySollium99/libpicofe.git
synced 2025-09-07 07:38:04 -04:00
gp2x: pollux: bring back ram timings
This commit is contained in:
parent
11166a22ce
commit
9a5a0dc9ff
3 changed files with 46 additions and 0 deletions
|
@ -337,6 +337,21 @@ again:
|
|||
return 0;
|
||||
}
|
||||
|
||||
int pollux_set_fromenv(volatile unsigned short *memregs,
|
||||
const char *env_var)
|
||||
{
|
||||
const char *set_string;
|
||||
int ret = -1;
|
||||
|
||||
set_string = getenv(env_var);
|
||||
if (set_string)
|
||||
ret = pollux_set(memregs, set_string);
|
||||
else
|
||||
printf("env var %s not defined.\n", env_var);
|
||||
|
||||
return ret;
|
||||
}
|
||||
|
||||
#ifdef BINARY
|
||||
#include <sys/types.h>
|
||||
#include <sys/stat.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue