[SOLVED] RF24 memory library corrupted after a while

Hello,
My sketch is a bit long but I can post it. My problem is I have a stable version which is running days and days without any problem, but if I make any change (use print(F( instead of print(, use uint8_t instead of int or add/remove some lines to the sketch) to this version, after a while, nrf24 messages are corrupted and I don't know why..

Someone can help please ?
(here is the order of my library list:
#include "Wire.h"
#include "RTClib.h"
#include "Time.h"
#include "DHT.h"
#include "Adafruit_BMP085.h"
#include "SPI.h"
#include "Ethernet.h"
#include "DS1307RTC.h"
#include "LiquidCrystal.h"
#include "nRF24L01.h"
#include "RF24.h"
#include "EthernetUdp.h"
)
Thanks
Pierre

Attach your code ,please . What arduino board are you using ?

Hello,
My board is guenuine Arduino mega 2560 my version is 1.5.6r2
My code exceed maximum allowed length (9500 characters). .. I attached it.

Pierre

Meteo_2_2_4.ino (49.6 KB)

The problem was in the management (in my code) of the received length ( radio.getDynamicPayloadSize():wink:
Once managed, the pb disapeared....

Pierre