touchgfx compilation attempt
This commit is contained in:
@ -5,7 +5,7 @@
|
||||
* Author: max
|
||||
*/
|
||||
|
||||
#include "b_cccv_algo.h"
|
||||
// #include "b_cccv_algo.h"
|
||||
#include "charger_control.h"
|
||||
#include "main.h"
|
||||
|
||||
|
||||
@ -4,7 +4,7 @@
|
||||
* Created on: Jun 21, 2023
|
||||
* Author: max
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
#include "slave_handler.h"
|
||||
#include "can.h"
|
||||
#include "can-halal.h"
|
||||
@ -60,7 +60,7 @@ static size_t get_slave_index(uint8_t slave_id) {
|
||||
if (slave_id_to_index[slave_id] == 0xFF) {
|
||||
if (next_slave_index >= N_SLAVES) {
|
||||
// We've seen more than N_SLAVES slave IDs, this shouldn't happen.
|
||||
Error_Handler();
|
||||
// Error_Handler();
|
||||
}
|
||||
slave_id_to_index[slave_id] = next_slave_index;
|
||||
slaves[next_slave_index].id = slave_id;
|
||||
|
||||
Reference in New Issue
Block a user