]> git.sur5r.net Git - openocd/blobdiff - src/target/embeddedice.c
types: write memory now uses const
[openocd] / src / target / embeddedice.c
index 5502ad8a8a58590ef184e6d79df3e4efa5682aa1..b171dcf72f60c18217d3b61a716adc6742f6370c 100644 (file)
@@ -637,7 +637,7 @@ int embeddedice_handshake(struct arm_jtag *jtag_info, int hsbit, uint32_t timeou
  * This is an inner loop of the open loop DCC write of data to target
  */
 void embeddedice_write_dcc(struct jtag_tap *tap,
-               int reg_addr, uint8_t *buffer, int little, int count)
+               int reg_addr, const uint8_t *buffer, int little, int count)
 {
        int i;