We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b61d578 commit 9bc8006Copy full SHA for 9bc8006
Canbus_app/libraries/Spi_lib.c
@@ -2,7 +2,7 @@
2
3
// Function to callback for the SPI to work
4
inline static void furi_hal_spi_bus_r_handle_event_callback(
5
- FuriHalSpiBusHandle* handle,
+ const FuriHalSpiBusHandle* handle,
6
FuriHalSpiBusHandleEvent event,
7
const LL_SPI_InitTypeDef* preset) {
8
if(event == FuriHalSpiBusHandleEventInit) {
@@ -48,7 +48,7 @@ inline static void furi_hal_spi_bus_r_handle_event_callback(
48
}
49
50
// Here is the CALLBACK
51
-static void spi_bus_callback(FuriHalSpiBusHandle* handle, FuriHalSpiBusHandleEvent event) {
+static void spi_bus_callback(const FuriHalSpiBusHandle* handle, FuriHalSpiBusHandleEvent event) {
52
furi_hal_spi_bus_r_handle_event_callback(handle, event, SPEED_8MHZ);
53
54
0 commit comments