Commit 99a6a3a6 authored by Astro's avatar Astro
Browse files

update c submodule and client.c to v1.9

parent 5dc11ba9
Subproject commit 45c228ac4887d2a838dcbb563c45182e579c5e35
Subproject commit c7b7bc8468f94f52c2af115b795d98b6b0974852
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment