How do you access a sub routine in b4r from inline C? The second argument (led_Tick) in the third line requires a sub routine as a parameter, what syntax do you use
B4X:
#if C
#include <RTClock.h>
void RTCinit (B4R::Object* o) {
rtc_init(RTCSEL_LSI);
rtc_set_prescaler_load(0x7fff);
rtc_attach_interrupt(RTC_SECONDS_INTERRUPT, led_Tick);
}
#End if