mirror of
https://github.com/dalathegreat/Battery-Emulator.git
synced 2025-10-06 03:50:13 +02:00
Change return type of function
This commit is contained in:
parent
8d21930101
commit
476c54711f
2 changed files with 3 additions and 3 deletions
|
@ -264,7 +264,7 @@ int CAN_init() {
|
|||
return 0;
|
||||
}
|
||||
|
||||
int CAN_write_frame(const CAN_frame_t *p_frame) {
|
||||
bool CAN_write_frame(const CAN_frame_t *p_frame) {
|
||||
if (sem_tx_complete == NULL) {
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -104,9 +104,9 @@ int CAN_init(void);
|
|||
* \brief Send a can frame
|
||||
*
|
||||
* \param p_frame Pointer to the frame to be send, see #CAN_frame_t
|
||||
* \return 0 Frame has been written to the module
|
||||
* \return 1 Frame has been written to the module
|
||||
*/
|
||||
int CAN_write_frame(const CAN_frame_t *p_frame);
|
||||
bool CAN_write_frame(const CAN_frame_t *p_frame);
|
||||
|
||||
/**
|
||||
* \brief Stops the CAN Module
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue