Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Astro
rust-card10
Commits
99a6a3a6
Commit
99a6a3a6
authored
Sep 03, 2019
by
Astro
⚙
Browse files
update c submodule and client.c to v1.9
parent
5dc11ba9
Changes
2
Hide whitespace changes
Inline
Side-by-side
c
@
c7b7bc84
Compare
45c228ac
...
c7b7bc84
Subproject commit
45c228ac4887d2a838dcbb563c45182e579c5e35
Subproject commit
c7b7bc8468f94f52c2af115b795d98b6b0974852
l0dable/src/client.c
View file @
99a6a3a6
...
...
@@ -709,6 +709,25 @@ int epic_disp_print( uint16_t posx, uint16_t posy, const char *pString, uint16_t
return
*
(
int
*
)
_api_call_transact
(
epc__apistub_buffer
);
}
/* Autogenerated stub for API_DISP_PRINT_ADV */
int
epic_disp_print_adv
(
uint8_t
font
,
uint16_t
posx
,
uint16_t
posy
,
const
char
*
pString
,
uint16_t
fg
,
uint16_t
bg
)
{
const
int
epc__apistub_size
=
sizeof
(
uint8_t
)
+
sizeof
(
uint16_t
)
+
sizeof
(
uint16_t
)
+
sizeof
(
const
char
*
)
+
sizeof
(
uint16_t
)
+
sizeof
(
uint16_t
);
void
*
epc__apistub_buffer
;
epc__apistub_buffer
=
_api_call_start
(
API_DISP_PRINT_ADV
,
epc__apistub_size
);
/* TODO: Check if epc__apistub_buffer is not NULL */
*
(
uint8_t
*
)(
epc__apistub_buffer
+
0
)
=
font
;
*
(
uint16_t
*
)(
epc__apistub_buffer
+
sizeof
(
uint8_t
))
=
posx
;
*
(
uint16_t
*
)(
epc__apistub_buffer
+
sizeof
(
uint8_t
)
+
sizeof
(
uint16_t
))
=
posy
;
*
(
const
char
**
)(
epc__apistub_buffer
+
sizeof
(
uint8_t
)
+
sizeof
(
uint16_t
)
+
sizeof
(
uint16_t
))
=
pString
;
*
(
uint16_t
*
)(
epc__apistub_buffer
+
sizeof
(
uint8_t
)
+
sizeof
(
uint16_t
)
+
sizeof
(
uint16_t
)
+
sizeof
(
const
char
*
))
=
fg
;
*
(
uint16_t
*
)(
epc__apistub_buffer
+
sizeof
(
uint8_t
)
+
sizeof
(
uint16_t
)
+
sizeof
(
uint16_t
)
+
sizeof
(
const
char
*
)
+
sizeof
(
uint16_t
))
=
bg
;
return
*
(
int
*
)
_api_call_transact
(
epc__apistub_buffer
);
}
/* Autogenerated stub for API_DISP_CLEAR */
int
epic_disp_clear
(
uint16_t
color
)
{
...
...
@@ -866,6 +885,19 @@ int epic_light_sensor_stop()
return
*
(
int
*
)
_api_call_transact
(
epc__apistub_buffer
);
}
/* Autogenerated stub for API_LIGHT_SENSOR_READ */
uint16_t
epic_light_sensor_read
(
void
)
{
const
int
epc__apistub_size
=
0
;
void
*
epc__apistub_buffer
;
epc__apistub_buffer
=
_api_call_start
(
API_LIGHT_SENSOR_READ
,
epc__apistub_size
);
/* TODO: Check if epc__apistub_buffer is not NULL */
return
*
(
uint16_t
*
)
_api_call_transact
(
epc__apistub_buffer
);
}
/* Autogenerated stub for API_FILE_OPEN */
int
epic_file_open
(
const
char
*
filename
,
const
char
*
modeString
)
{
...
...
@@ -1154,6 +1186,45 @@ int epic_max30001_disable_sensor( void )
return
*
(
int
*
)
_api_call_transact
(
epc__apistub_buffer
);
}
/* Autogenerated stub for API_USB_SHUTDOWN */
int
epic_usb_shutdown
(
void
)
{
const
int
epc__apistub_size
=
0
;
void
*
epc__apistub_buffer
;
epc__apistub_buffer
=
_api_call_start
(
API_USB_SHUTDOWN
,
epc__apistub_size
);
/* TODO: Check if epc__apistub_buffer is not NULL */
return
*
(
int
*
)
_api_call_transact
(
epc__apistub_buffer
);
}
/* Autogenerated stub for API_USB_STORAGE */
int
epic_usb_storage
(
void
)
{
const
int
epc__apistub_size
=
0
;
void
*
epc__apistub_buffer
;
epc__apistub_buffer
=
_api_call_start
(
API_USB_STORAGE
,
epc__apistub_size
);
/* TODO: Check if epc__apistub_buffer is not NULL */
return
*
(
int
*
)
_api_call_transact
(
epc__apistub_buffer
);
}
/* Autogenerated stub for API_USB_CDCACM */
int
epic_usb_cdcacm
(
void
)
{
const
int
epc__apistub_size
=
0
;
void
*
epc__apistub_buffer
;
epc__apistub_buffer
=
_api_call_start
(
API_USB_CDCACM
,
epc__apistub_size
);
/* TODO: Check if epc__apistub_buffer is not NULL */
return
*
(
int
*
)
_api_call_transact
(
epc__apistub_buffer
);
}
/* Weakly linked stubs for ISRs */
void
epic_isr_bhi160_accelerometer
(
api_int_id_t
id
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment