Fixed prototype of sys_get_info

This commit is contained in:
pweingar 2024-11-06 15:10:59 -05:00
parent 11e0533af3
commit 947c4f96be
2 changed files with 3 additions and 2 deletions

View file

@ -36,7 +36,7 @@ const char * sys_model_name[] = {
* Inputs: * Inputs:
* info = pointer to a s_MODEL_info structure to fill out * info = pointer to a s_MODEL_info structure to fill out
*/ */
void sys_get_information(p_sys_info info) { SYSTEMCALL void sys_get_information(p_sys_info info) {
unsigned long gabe_id = 0; unsigned long gabe_id = 0;
unsigned short genx_model_id = 0; unsigned short genx_model_id = 0;
unsigned short clock_speed = 0; unsigned short clock_speed = 0;

View file

@ -5,6 +5,7 @@
#ifndef __SYS_GENERAL_H #ifndef __SYS_GENERAL_H
#define __SYS_GENERAL_H #define __SYS_GENERAL_H
#include "sys_macros.h"
#include "constants.h" #include "constants.h"
#include "features.h" #include "features.h"
#include "sys_types.h" #include "sys_types.h"
@ -65,7 +66,7 @@
* Inputs: * Inputs:
* info = pointer to a s_sys_info structure to fill out * info = pointer to a s_sys_info structure to fill out
*/ */
extern void sys_get_information(p_sys_info info); extern SYSTEMCALL void sys_get_information(p_sys_info info);
#if MODEL == MODEL_FOENIX_GENX || MODEL == MODEL_FOENIX_A2560X #if MODEL == MODEL_FOENIX_GENX || MODEL == MODEL_FOENIX_A2560X
/* /*